]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: dra7xx: Fix error path in iodelay recalibration
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 1 Oct 2019 05:11:00 +0000 (10:41 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 17:32:39 +0000 (13:32 -0400)
commit60e3d43a26d0334dd09521220e0312d50679b1c7
treedcb5e8fe71bed3d4cfa25b7ace7be23163b9bd97
parent2fff0e96a6ed4bb464f3ef7c2e3628ddf2d988d0
arm: dra7xx: Fix error path in iodelay recalibration

When an error is reported in __recalibrate_iodelay_start(), de-isolation
of IO doesn't happen. Because of this, undefined behaviour is observed
on many peripherals without any error. So make sure io is out of isolation
at the end of iodelay recalibration.

Reported-by: Richard Woodruff <r-woodruff2@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-omap2/omap5/dra7xx_iodelay.c