mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: rockchip: isp: fix link setup error
Change-Id: Ie357ae811627f861ba002d1de82adfe61d45b42f Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -1582,7 +1582,8 @@ static int rkisp_subdev_link_setup(struct media_entity *entity,
|
||||
struct rkisp_stream *stream = NULL;
|
||||
u8 rawrd = INP_RAWRD0 | INP_RAWRD1 | INP_RAWRD2;
|
||||
|
||||
if (local->index != RKISP_ISP_PAD_SINK)
|
||||
if (local->index != RKISP_ISP_PAD_SINK &&
|
||||
local->index != RKISP_ISP_PAD_SOURCE_PATH)
|
||||
return 0;
|
||||
if (!sd)
|
||||
return -ENODEV;
|
||||
|
||||
Reference in New Issue
Block a user