Clear the HWO of TRB belongs to the current req which will
be moved to the pending list, rather than clear the HWO
of previous TRB in the ring.
Fixes: 05c86e9eef ("usb: dwc3: gadget: fix bug of clac_trbs_left at isoc in transfer")
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: If11c296db902631587cf36731242d12ddb5c4c28
This reverts commit fae0c499d0.
VCCIO1 is controlled by pin GPIO0B3/FLASH_VOL_SEL:
* pullup for 1.8v
* float for 3.3v
so, we should not reconfigure it by software.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I0bc119cbb0355e9d8fd7ba3457bf436eba3d6e7a
Building imx378 fails now unless V4L2_FWNODE is selected:
drivers/media/i2c/imx378.o: In function `imx378_probe':
imx378.c:(.text+0x1074): undefined reference to `v4l2_async_register_subdev_sensor_common'
Fixes: 797d705c90 ("media: i2c: add imx378 sensor driver")
Change-Id: Ie89333159f76d435dc253d9b025bc83c949066ec
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1.Add more information for SPI Nand MTD debug
2.Return program result
Change-Id: I3fc7d63955355ad88adfbd02f0b67fc16c9d76d5
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
rk3308 i2s_2ch_0 only have the tx_lrck pin, so must set
only tx_lrck is used as synchronous signal for TX and RX.
Signed-off-by: XiaoTan Luo <lxt@rock-chips.com>
Change-Id: Ic1a843f96950162ca10ad625dae4e238c9aabfd8
debugfs might be disabled in some simple system.
location:
/sys/kernel/debug/mpp_service/
to -->
/proc/mpp_service/
Change-Id: I4e463d9be9ee1b0f229394ee61580a343ccc870c
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
On RV1109/RV1126, there is a rare risk that command would not take effect
for rkvenc_mmu. Rewrite command no more than 10 times. Only consider
enable/disable paging, enable/disable stall these 4 commands
which result can be checked through register RK_MMU_STATUS.
Change-Id: I508783821f05513b28392d5a3d3a55953917f910
Signed-off-by: Simon Xue <xxm@rock-chips.com>
This reverts commit 5111545068.
For compatibility with GKI, connector atomic_begin/atomic_flush
should be removed.
Change-Id: I00b66338fd8a79230a71419ed476bf80e8496e2b
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This reverts commit 401fc0060c.
For compatibility with GKI, connector atomic_begin/atomic_flush
should be removed.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ibff527242a2938027e0f7871a84e549513d5c2ea
HDR_PANEL_METADATA has been hdmi private property, so remove
HDR_PANEL_METADATA in mode_config.
Fixes: 97fd2e42b6 ("drm: Add HDR panel metadata property")
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ia534d61d78edcdd2260b41d1c5a076f19034bf75
For compatibility with GKI, hdr_metadata_changed should be removed.
Fixes: 2beb3925b7 ("drm: bridge: dw-hdmi: support Dynamic Range and Mastering Infoframe")
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ia1981a44507bbd58e5677a9ebfc0053afd228d19
For compatibility with GKI, connector atomic_begin/atomic_flush should
be removed. If hdmi color format has changed, set flag mode_changed
true and start a modeset to config hdmi.
We check whether color format has changed in
dw_hdmi_connector_atomic_check(), but color format variable update in
dw_hdmi_rockchip_encoder_atomic_check(), It runs after
dw_hdmi_connector_atomic_check(). That will lead to misjudgments when
determining whether color format has changed.
To solve this problem, we introduce get_color_changed(). When color
properties are set and color format is changed, get_color_changed()
return true.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Id1fbe80171856f91efa5ae40a0e0608a92ebcbf7
For compatibility with GKI, HDR_PANEL_METADATA can't be a global
property. So change HDR_PANEL_METADATA to Rockchip private property.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I7926683a5dc6274e6cab2151e476344fa897b66c
For compatibility with GKI, remove hdr_metadata_changed. Check
if hdr output metadata has changed in dw_hdmi_connector_atomic_check.
If hdr output metadata has changed, modeset will begin.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I160bd64eabbc6fc827e61e85ede771484d967626
The resolution below 4K-60/50Hz don't support YUV420. If switch from
4K-60/50Hz in YUV420 to lower resolution may cause display err.
So if resolution below 4K-60/50Hz, color format should be
RGB/YUV444/YUV422.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ib96303f3bef1a1b269a9ac8845951b6a895ec5b8
The UBIFS file system does not need misc partition,
So modify the mtd of rootfs to 2.
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: Ibc0dc84357daf6e917f1989205af5674f4ddeb25