mmc: tmio: reset the controller after power-up
This fixes two reported problems: 1. after a system resume the controller isn't functioning until a command runs on a timeout and a controller reset is performed. 2. if a card is ejected during a running write operation, its re-insertion isn't detected. Reported-by: NNguyen Viet Dung <nv-dung@jinso.co.jp> Reported-by: NNguyen Hong Ky <nh-ky@jinso.co.jp> Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Tested-by: NNguyen Viet Dung <nv-dung@jinso.co.jp> Tested-by: NNguyen Hong Ky <nh-ky@jinso.co.jp> Signed-off-by: NChris Ball <cjb@laptop.org>
Showing
想要评论请 注册 或 登录