aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform/stm32/stm32-dcmi.c
diff options
context:
space:
mode:
authorHugues Fruchet <hugues.fruchet@st.com>2018-02-06 08:24:09 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-23 03:12:19 -0500
commit8670d70a4286fc9be47f4c9654e071bce97111f2 (patch)
treebc3b27dd76dd567eb0d11380f0e06d7ad7c5b9fc /drivers/media/platform/stm32/stm32-dcmi.c
parent41d8d7f517126fa104a67c2b0cc23cf5c12fadc4 (diff)
media: ov5640: fix virtual_channel parameter permissions
Fix module_param(virtual_channel) permissions. This problem was detected by checkpatch: $ scripts/checkpatch.pl -f drivers/media/i2c/ov5640.c ERROR: Use 4 digit octal (0777) not decimal permissions +module_param(virtual_channel, int, 0); Also add an error trace in case of virtual_channel not in the valid range of values. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/stm32/stm32-dcmi.c')
0 files changed, 0 insertions, 0 deletions