[media] atmel-isi: code cleanup
authorHugues Fruchet <hugues.fruchet@st.com>
Fri, 19 May 2017 10:04:52 +0000 (07:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Jun 2017 11:36:42 +0000 (08:36 -0300)
commitec62c9a54cc28dd20dfb08b4663d021028b1a97e
tree45d50165dfd3f0bbc4dafbbdc1016d80363e4bb0
parent42654ebad0c7f54768068e5daa7a6a44ba43c738
[media] atmel-isi: code cleanup

Ensure that ISI is clocked before starting sensor sub device.
Remove un-needed type check in try_fmt().
Use clamp() macro for hardware capabilities.
Fix wrong tabulation to space.

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/atmel/atmel-isi.c