regulator: rpi-panel: Handle I2C errors/timing to the Atmel
stable inclusion from stable-v5.10.110 commit b0f2f89d741ab1f2e0fcd14b5a5252fbbdeebb70 bugzilla: https://gitee.com/openeuler/kernel/issues/I574AL Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b0f2f89d741ab1f2e0fcd14b5a5252fbbdeebb70 -------------------------------- [ Upstream commit 5665eee7 ] The Atmel is doing some things in the I2C ISR, during which period it will not respond to further commands. This is particularly true of the POWERON command. Increase delays appropriately, and retry should I2C errors be reported. Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NDetlev Casanova <detlev.casanova@collabora.com> Link: https://lore.kernel.org/r/20220124220129.158891-3-detlev.casanova@collabora.comSigned-off-by: NMark Brown <broonie@kernel.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NYu Liao <liaoyu15@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录