media: ov5640: add error trace in case of i2c read failure
authorHugues Fruchet <hugues.fruchet@st.com>
Wed, 31 Jan 2018 12:46:17 +0000 (07:46 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Feb 2018 08:08:14 +0000 (03:08 -0500)
commit3924c62383ade455d6242f2b017cb67b92aa50a7
tree656952ff1d205b439fdf26bd3a92c716f579f0b5
parentd47c412639f0d283f377ff01d9e6a9cfa44f2adc
media: ov5640: add error trace in case of i2c read failure

Add an error trace in ov5640_read_reg() in case of i2c_transfer()
failure.
Uniformize error traces using dev_err instead v4l2_err.

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov5640.c