mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
media/video/rk30_camera_oneframe: fix compile warning
drivers/media/video/rk30_camera_oneframe.c:2212:5: warning: this if clause does not guard... [-Wmisleading-indentation] Change-Id: Ie304d39082a84b322a15b8b74f5b24d9d394b4d7 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -2208,9 +2208,9 @@ static int rk_camera_get_formats(struct soc_camera_device *icd, unsigned int idx
|
||||
return 0;
|
||||
}
|
||||
|
||||
ret = rk_camera_try_bus_param(icd, fmt->bits_per_sample);
|
||||
if (ret < 0)
|
||||
return 0;
|
||||
ret = rk_camera_try_bus_param(icd, fmt->bits_per_sample);
|
||||
if (ret < 0)
|
||||
return 0;
|
||||
|
||||
switch (code) {
|
||||
case MEDIA_BUS_FMT_UYVY8_2X8:
|
||||
|
||||
Reference in New Issue
Block a user