]> git.dujemihanovic.xyz Git - u-boot.git/commit
ufs: Clear UECPA once due to LINERESET has happened during LINK_STARTUP
authorBhupesh Sharma <bhupesh.linux@gmail.com>
Mon, 30 Sep 2024 12:44:30 +0000 (14:44 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 14 Oct 2024 06:55:28 +0000 (08:55 +0200)
commit002afccdafdea6b6f0e4422e838649567b41e29d
tree04331701501cf528e0c72180def5f645bb320be2
parentfdd33a7f140a2473277f9e365bc709f2cf425f0b
ufs: Clear UECPA once due to LINERESET has happened during LINK_STARTUP

Clear UECPA once in u-boot UFS driver due to LINERESET has happened
during LINK_STARTUP. This makes the u-boot ufs driver behavior related
to UECPA similar to Linux UFS driver.

Ported from Linux kernel commit:
2355b66ed20c ("scsi: ufs: Handle LINERESET indication in err handler")

Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Tested-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Tested-by: Julius Lehmann <lehmanju@devpi.de>
Link: https://lore.kernel.org/r/20240930-topic-ufs-enhancements-v3-8-58234f84ab89@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/ufs/ufs.c