ata: ahci_brcm: Add missing clock management during recovery
The downstream implementation of ahci_brcm.c did contain clock
management recovery, but until recently, did that outside of the
libahci_platform helpers and this was unintentionally stripped out while
forward porting the patch upstream.
Add the missing clock management during recovery and sleep for 10
milliseconds per the design team recommendations to ensure the SATA PHY
controller and AFE have been fully quiesced.
Fixes: eb73390ae241 ("ata: ahci_brcm: Recover from failures to identify devices")
Reviewed-by: Hans de Goede <firstname.lastname@example.org>
Signed-off-by: Florian Fainelli <email@example.com>
Signed-off-by: Jens Axboe <firstname.lastname@example.org>
1 file changed