mmc: mediatek: Move cqhci init behind ungate clock
commit e8a1ff65 upstream. We must enable clock before cqhci init, because crypto needs read information from CQHCI registers, otherwise, it will hang in MediaTek mmc host controller. Signed-off-by:Wenbin Mei <wenbin.mei@mediatek.com> Fixes: 88bd652b ("mmc: mediatek: command queue support") Cc: stable@vger.kernel.org Acked-by:
Chaotian Jing <chaotian.jing@mediatek.com> Link: https://lore.kernel.org/r/20211028022049.22129-1-wenbin.mei@mediatek.com Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment