]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: mtk-sd: Fix not calling dev_err with a device
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:44:47 +0000 (10:44 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:52:52 +0000 (08:52 -0400)
commite1ce7901280b01c3d9532adf377cb9d3b2e04127
tree37d135fd8f9462ae762fb27d6e6a4e353ff37486
parent48a4eb802a213ed23bfdd20161a0e5a9a995a601
mmc: mtk-sd: Fix not calling dev_err with a device

This adds a udevice parameter to get_best_delay and msdc_set_mclk so they
can call dev_err properly.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/mmc/mtk-sd.c