mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
CHROMIUM: media: rockchip/isp1: Reverse the order of MIs
The current order (SP=0, MP=1) is the opposite of what is there in hardware registers (MP=0, SP=1), which unnecessarily complicates the code that deals with hardware programming. Fix this by reversing the order of streams in the driver. BUG=b:78779539 TEST=Make sure camera works on scarlet. Change-Id: I43671748073d9dc4cb906e5f6f992f870920ce91 Signed-off-by: Tomasz Figa <tfiga@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1065403 Tested-by: yichong zhong <zyc@rock-chips.com> Reviewed-by: Ricky Liang <jcliang@chromium.org> Reviewed-by: yichong zhong <zyc@rock-chips.com> Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
@@ -46,8 +46,8 @@
|
||||
#define RKISP1_DEFAULT_HEIGHT 600
|
||||
|
||||
#define RKISP1_MAX_STREAM 2
|
||||
#define RKISP1_STREAM_SP 0
|
||||
#define RKISP1_STREAM_MP 1
|
||||
#define RKISP1_STREAM_MP 0
|
||||
#define RKISP1_STREAM_SP 1
|
||||
|
||||
#define RKISP1_PLANE_Y 0
|
||||
#define RKISP1_PLANE_CB 1
|
||||
|
||||
Reference in New Issue
Block a user