[media] v4l2: blackfin: select proper pinctrl state in ppi_set_params if CONFIG_PINCT...
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 23 Jul 2014 09:57:16 +0000 (06:57 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 20:15:16 +0000 (17:15 -0300)
commit0a6824bc10de58dac8beca4ad6744753f1cf9a6f
tree6e8dd0af3ed69dfcfaf2ec2431fa4c6ccc9f0cb0
parent7ba3c21c17d0fec397dc5e0337a3548eb14220bd
[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>
drivers/media/platform/blackfin/ppi.c
include/media/blackfin/ppi.h