diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2014-07-23 11:57:16 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-26 22:15:16 +0200 |
commit | 0a6824bc10de58dac8beca4ad6744753f1cf9a6f (patch) | |
tree | 6e8dd0af3ed69dfcfaf2ec2431fa4c6ccc9f0cb0 /include/media/blackfin | |
parent | [media] v4l2: bfin: Ensure delete and reinit list entry on NOMMU architecture (diff) | |
download | linux-0a6824bc10de58dac8beca4ad6744753f1cf9a6f.tar.xz 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/blackfin')
-rw-r--r-- | include/media/blackfin/ppi.h | 1 |
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; |