Here is an experimental patch for the tas5110d sensor, based on these commits to gspca:
Note that the setbrightness() function may have changed to setsensorgain() and/or setgain().
Also refer to this commit:
The patch applies to revision 1.9 of the file sonix.h, using the CVS repository as of 2013-08-01.
The brightness slider has *some* effect, and the issue of the image being mirrored is fixed. Testing with a Genius VideoCAM Eye (0c45:6007).
So far this is just a quick test. Need to put in separate cases for the tas5110c and d, and create subclass(es) for cameras that use the d.