]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: sdp: Detach the controller on error
authorMarek Vasut <marex@denx.de>
Fri, 1 Sep 2023 09:49:57 +0000 (11:49 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 15 Sep 2023 21:38:02 +0000 (23:38 +0200)
commit99924db71f61ffb155cd4d0ce640376019126de8
treeeebb3bef55dcc4b0fb81fbf3508e1ddf0503d805
parent2dfae17512ec8fec4a44dbc35fb444ab2ed3b156
spl: sdp: Detach the controller on error

In case anything errors out during the SDP transfer, detach
the controller instead of bailing out right away. This way,
the controller can be reattached on next attempt.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Marek Vasut <marex@denx.de>
common/spl/spl_sdp.c