diff options
author | Valentin Longchamp <valentin.longchamp@epfl.ch> | 2010-02-09 05:59:12 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:46:21 -0400 |
commit | 535653b1c22c29d4e8f554928efc87fe138f917d (patch) | |
tree | 68a93e7f63c3cc62b54e2039b0fcb350a10b6b5c /drivers/media/dvb/frontends/tda826x.h | |
parent | 4f9fb5ed020324d6c151db34460df572b0fdc491 (diff) |
V4L/DVB: mt9t031: use runtime pm support to restore ADDRESS_MODE registers
If the platform hooks are provided, soc_camera powers off the device
on close and powers it on on open. This resets the ADDRESS_MODE registers
which then can be different to the value the driver has computed for them.
This patch setups runtime pm usage for mt9t031 and uses the resume function
to write the ADDRESS_MODE registers in order to fix the above described
problem.
Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/tda826x.h')
0 files changed, 0 insertions, 0 deletions