diff options
author | Nitin Kumbhar <nkumbhar@nvidia.com> | 2011-04-29 14:33:57 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-05-11 15:22:59 -0700 |
commit | 0f4f79b089269ad1850f5e87c6f89b77f6f19e8b (patch) | |
tree | 8f7f2e188824ba8a09093c5ebed821629cc95f4b /arch/arm/mach-tegra | |
parent | e242efad10003356669dda985ac698ecd93e8604 (diff) |
arm: tegra: ventana: deselect pca9546 i2c mux channel on exit
On ventana, pca9546 is used as a mux for 0v2710/ov5650 camera
sensors. With UJA0H14 version of ov5650 sensor, it is observed
that pca9546 driver incorrectly caches last channel when VDDIO_CAM
is toggled while enabling/disabling tegra camera. Deselect i2c
mux channel on exit so that i2c mux is correctly configured with
new mux channel.
BUG 812134
(cherry picked from commit 2d62e589c0bd933db846d4b8f9fe4f2116bef8ad)
Reviewed-on: http://git-master/r/29811
(cherry picked from commit c53b7eb26bee96fd7927e94848055af94baa831b)
Change-Id: Ic41a952d05b610e569e37802cf05552af9d93e13
Reviewed-on: http://git-master/r/30975
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/board-ventana-sensors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-ventana-sensors.c b/arch/arm/mach-tegra/board-ventana-sensors.c index 03c2a038b990..6bc3d7d38bcd 100644 --- a/arch/arm/mach-tegra/board-ventana-sensors.c +++ b/arch/arm/mach-tegra/board-ventana-sensors.c @@ -264,9 +264,9 @@ static struct pca953x_platform_data ventana_tca6416_data = { }; static struct pca954x_platform_mode ventana_pca9546_modes[] = { - { .adap_id = 6, }, /* REAR CAM1 */ - { .adap_id = 7, }, /* REAR CAM2 */ - { .adap_id = 8, }, /* FRONT CAM3 */ + { .adap_id = 6, .deselect_on_exit = 1 }, /* REAR CAM1 */ + { .adap_id = 7, .deselect_on_exit = 1 }, /* REAR CAM2 */ + { .adap_id = 8, .deselect_on_exit = 1 }, /* FRONT CAM3 */ }; static struct pca954x_platform_data ventana_pca9546_data = { |