aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/blackfin
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-07-23 05:57:16 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-26 16:15:16 -0400
commit0a6824bc10de58dac8beca4ad6744753f1cf9a6f (patch)
tree6e8dd0af3ed69dfcfaf2ec2431fa4c6ccc9f0cb0 /include/media/blackfin
parent7ba3c21c17d0fec397dc5e0337a3548eb14220bd (diff)
[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/blackfin')
-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 {
83}; 83};
84 84
85struct ppi_if { 85struct ppi_if {
86 struct device *dev;
86 unsigned long ppi_control; 87 unsigned long ppi_control;
87 const struct ppi_ops *ops; 88 const struct ppi_ops *ops;
88 const struct ppi_info *info; 89 const struct ppi_info *info;