From: Philipp Zabel
Date: Wed, 4 Jun 2014 16:57:03 +0000 (-0300)
Subject: [media] mt9v032: use regmap
X-Git-Tag: omap-for-v3.17/fixes-against-rc2~155^2~206
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80b44ef23a746af5a05562d314184b5923574bb6;p=pandora-kernel.git
[media] mt9v032: use regmap
This switches all register accesses to use regmap. It allows to
use the regmap cache, tracing, and debug register dump facilities,
and removes the need to open code read-modify-writes.
Signed-off-by: Philipp Zabel
Signed-off-by: Laurent Pinchart
Signed-off-by: Mauro Carvalho Chehab
---
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 441053be7f55..f40b4cf6107a 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -551,6 +551,7 @@ config VIDEO_MT9V032
tristate "Micron MT9V032 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
+ select REGMAP_I2C
---help---
This is a Video4Linux2 sensor-level driver for the Micron
MT9V032 752x480 CMOS sensor.
Reading git-diff-tree failed