summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-07-23 06:57:16 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-26 17:15:16 -0300
commit0a6824bc10de58dac8beca4ad6744753f1cf9a6f (patch)
tree6e8dd0af3ed69dfcfaf2ec2431fa4c6ccc9f0cb0 /include/media
parent7ba3c21c17d0fec397dc5e0337a3548eb14220bd (diff)
downloadlinux-0a6824bc10de58dac8beca4ad6744753f1cf9a6f.tar.gz
linux-0a6824bc10de58dac8beca4ad6744753f1cf9a6f.tar.bz2
linux-0a6824bc10de58dac8beca4ad6744753f1cf9a6f.zip
[media] v4l2: blackfin: select proper pinctrl state in ppi_set_params if CONFIG_PINCTRL is enabled
Multiple pinctrl states are defined for 8, 16 and 24 data pin groups in PPI peripheral. The driver should select correct group before set up further PPI parameters. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Acked-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/blackfin/ppi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/blackfin/ppi.h b/include/media/blackfin/ppi.h
index 61a283f2bd4b..4900baedd55a 100644
--- a/include/media/blackfin/ppi.h
+++ b/include/media/blackfin/ppi.h
@@ -83,6 +83,7 @@ struct ppi_info {
};
struct ppi_if {
+ struct device *dev;
unsigned long ppi_control;
const struct ppi_ops *ops;
const struct ppi_info *info;