mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
media: rockchip: isp: force offset to 0 when frame end for wrap mode
Change-Id: I8d216824edff965ef12b2de8620dd135a6ff50f4 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -698,10 +698,8 @@ static int mp_config_mi(struct rkisp_stream *stream)
|
||||
* NOTE: plane_fmt[0].sizeimage is total size of all planes for single
|
||||
* memory plane formats, so calculate the size explicitly.
|
||||
*/
|
||||
if (dev->cap_dev.wrap_line) {
|
||||
if (dev->cap_dev.wrap_line)
|
||||
height = dev->cap_dev.wrap_line;
|
||||
rkisp_clear_bits(dev, 0x1814, BIT(0), false);
|
||||
}
|
||||
val = out_fmt->plane_fmt[0].bytesperline;
|
||||
/* in bytes for isp32 */
|
||||
if (dev->isp_ver == ISP_V32)
|
||||
|
||||
Reference in New Issue
Block a user