Re: [PATCH v2] [media] blackfin: fix error return code in bcap_probe()

2013-05-13 Thread Scott Jiang
2013/5/13 Wei Yongjun : > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Signed-off-by: Wei Yongjun > --- > v1 -> v2: move config->num_inputs check to the beginning of this function > --- > drivers/me

[PATCH v2] [media] blackfin: fix error return code in bcap_probe()

2013-05-13 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- v1 -> v2: move config->num_inputs check to the beginning of this function --- drivers/media/platform/blackfin/bfin_capture.c | 8 +