Re: [PATCH 2/6] media: ov772x: add checks for register read errors

2018-04-10 Thread Akinobu Mita
2018-04-09 16:36 GMT+09:00 jacopo mondi : > Hi Akinobu, > > On Sun, Apr 08, 2018 at 12:48:06AM +0900, Akinobu Mita wrote: >> This change adds checks for register read errors and returns correct >> error code. >> > > I feel like error conditions are anyway captured by the switch() > default case, bu

Re: [PATCH 2/6] media: ov772x: add checks for register read errors

2018-04-09 Thread jacopo mondi
Hi Akinobu, On Sun, Apr 08, 2018 at 12:48:06AM +0900, Akinobu Mita wrote: > This change adds checks for register read errors and returns correct > error code. > I feel like error conditions are anyway captured by the switch() default case, but I understand there may be merits in returning the act