mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
vdin: no sw reset on chips before t5 [1/1]
PD#SWPL-145959 Problem: software reset on g12b casue system crash Solution: sw reset on chips after or equal to t5 Verify: t5m Change-Id: Ia186e87d6c87a6396488274d8ddf683aefebe86f Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
This commit is contained in:
@@ -7255,6 +7255,9 @@ void vdin_sw_reset(struct vdin_dev_s *devp)
|
||||
else if (is_meson_t3x_cpu())
|
||||
vdin_sw_reset_t3x(devp);
|
||||
#endif
|
||||
if (!cpu_after_eq(MESON_CPU_MAJOR_ID_T5))
|
||||
return;
|
||||
|
||||
if (devp->index) {
|
||||
wr_bits(0, VDIN_TOP_MISC, 1, 27, 1); //vdin1
|
||||
wr_bits(0, VDIN_TOP_MISC, 0, 27, 1); //vdin1
|
||||
|
||||
Reference in New Issue
Block a user