[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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
7ba3c21c17
commit
0a6824bc10
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user