summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/vf610-pinfunc.h
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2019-06-26 02:33:15 +0300
committerTony Lindgren <tony@atomide.com>2019-08-13 13:38:37 +0300
commita304f483b6b00d42bde41c45ca52c670945348e2 (patch)
treeddc81052fed63c085e45e223c96b5ec3e6177c4f /arch/arm/boot/dts/vf610-pinfunc.h
parent89bbc6f1eb90809b1538b3a9c54030c558180e3b (diff)
downloadlinux-a304f483b6b00d42bde41c45ca52c670945348e2.tar.xz
bus: ti-sysc: Simplify cleanup upon failures in sysc_probe()
The clocks are not yet parsed and prepared until after a successful sysc_get_clocks(), so there is no need to unprepare the clocks upon any failure of any of the prior functions in sysc_probe(). The current code path would have been a no-op because of the clock validity checks within sysc_unprepare(), but let's just simplify the cleanup path by returning the error directly. While at this, also fix the cleanup path for a sysc_init_resets() failure which is executed after the clocks are prepared. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/vf610-pinfunc.h')
0 files changed, 0 insertions, 0 deletions