Age | Commit message (Collapse) | Author |
|
From: Erik Andr?n <erik.andren@gmail.com>
Previously many of the v4l2 ctrls were set to their initial values at resume from ram/disk. This patch enforces the values stored in the ctrl cache.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
This patch renames some register defines in the ov9650 sensor.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
The po1030 register defines are unnecessarily complex, simplify them and also add some missing ones.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Regardless of the actual sensor orientation vflip = 0 is normal, and vflip = 1 is upside down. This patch makes that happen
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
The power_down sensor struct member is almost has no purpose in the current driver abstraction. Remove it.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Let the po1030 have a local v4l2 ctrl cache as this minimizes the load on reading the registers and improves performance.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Luk?? Karas <lukas.karas@centrum.cz>
s5k83a sensor mounted on many acer laptops have a swiwel allowing it to be rotated. When the camera is in its rotated state, the image needs to be flipped. The only way to check for if the camera has been flipped is to continously poll a register in the m5602. This patch creates a kernel thread which does this. This patch renames some v4l2 ctrls and finally implements a cache in order to prevent unnecessary sensor reads.
Priority: normal
Signed-off-by: Luk?? Karas <lukas.karas@centrum.cz>
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Remove an unnecessary error check and reorder some code.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Touching the hflip/vflip register while doing the read/modify/write corrupts the image. Just read from the sensor ctrl cache instead and all is good.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
The vflip quirk is better checked at probe time as it's only needed once.
Also add an extra reset at init time to resolve a suspend to ram regression.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Reading and writing to a register doesn't always work reliably. Add a cache
and ensure that it is deallocated properly upon module disconnect.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Previously all resolution setting was done with precalculated tables.
When the image is vflipped we need to adjust the alignment which would
require another table. Now we can adjust the parameters on the fly instead.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Some errors were not propagated properly.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
ov9650: Reading the COM1 register corrupts the image.
Decrease the granularity of the exposure and limit its upper range
as setting such high values doesn't have any effect on the image.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Autogain is on by default, properly set the default value in the v4l2 ctrl.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Remove an unused sd struct member. Remove a redundant define while we're at it.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Move over the v4l2 controls to the sensor specific source file.
Remove the now redundant sensor struct member.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
By separating the supported for each sensor into a separate vector we can
eliminate the nmodes variable and instead calculate it at runtime.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Previously, all sensors allocated a part of a large ctrl vector.
Define this vector separately for each sensor instead.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
This is a hack preventing a suspend-to-ram/disk regression.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
In order to save energy, put the sensor in soft sleep mode when not active
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Lukas Karas <lukas.karas@centrum.cz>
This patch toggles the led seen on many laptops having a m5602 connected
to a Samsung s5k83a sensor.
Priority: normal
Signed-off-by: Lukas Karas <lukas.karas@centrum.cz>
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Cleans some unnecessary temporary variable usage in the ov9650 start function.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Adds QCIF support for the ov9650 sensor
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Simplfy error handling by replacing goto statements with return equivalents.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Erik Andr?n <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
|
|
From: Gregory Lardiere <spmf2004-m560x@yahoo.fr>
The previous probe rotine tried to read 6 bytes in one chunk which currently isn't allowed. This is the rev. 10346 243399e67c41 readded with a high priority.
Priority: high
Signed-off-by: Gregory Lardiere <spmf2004-m560x@yahoo.fr>
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
|
|
|
|
From: Mauro Carvalho Chehab <mchehab@redhat.com>
anysee.c:44:5: warning: symbol 'dvb_usb_anysee_delsys' was not declared. Should it be static?
cx24116.c:378:3: warning: symbol 'CX24116_MODFEC_MODES' was not declared. Should it be static?
stb0899_algo.c:57:5: warning: symbol 'stb0899_get_srate' was not declared. Should it be static?
stb0899_algo.c:766:6: warning: symbol 'Log2Int' was not declared. Should it be static?
stb0899_drv.c:137:20: warning: symbol 'stb0899_quant_tab' was not declared. Should it be static?
stb0899_drv.c:180:20: warning: symbol 'stb0899_est_tab' was not declared. Should it be static?
stb0899_drv.c:220:5: warning: symbol '_stb0899_read_reg' was not declared. Should it be static?
budget-ci.c:1348:23: warning: symbol 'tt3200_stb6100_config' was not declared. Should it be static?
/home/v4l/master/v4l/cx25840-core.c:190:6: warning: symbol 'cx25840_work_handler' was not declared. Should it be static?
/home/v4l/master/v4l/m5602_s5k83a.c:116:6: warning: symbol 's5k83a_dump_registers' was not declared. Should it be static?
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
From: Alexey Klimov <klimov.linux@gmail.com>
Priority: normal
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
|
|
From: Alexey Klimov <klimov.linux@gmail.com>
Introduce int ret and check it value after call to usb_register().
Priority: normal
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
|
|
From: Jean-Francois Moine <moinejf@free.fr>
The transfer endpoint address is now automatically chosen.
Priority: normal
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
|
|
From: Erik Andrén <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
|
|
From: Erik Andrén <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
|
|
From: Erik Andrén <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
|
|
From: Erik Andrén <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
|
|
From: Erik Andrén <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
|
|
From: Erik Andrén <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
|
|
From: Erik Andrén <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
|
|
From: Erik Andrén <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
|
|
From: Jean-Francois Moine <moinejf@free.fr>
Priority: normal
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
|
|
From: Erik Andrén <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
|