]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc: fix f_max retrieval during init
authorMarkus Niebel <Markus.Niebel@tq-group.com>
Fri, 24 Oct 2014 09:44:53 +0000 (11:44 +0200)
committerYork Sun <yorksun@freescale.com>
Thu, 20 Nov 2014 02:17:12 +0000 (18:17 -0800)
commit3b4b9a3377d6e7cba6060497b02644f9ff2ac67a
tree90e076ee3ee89a13820c877b3f3a0624db44fde5
parentc35f8693942d8284c635592f263a0fe11abe1d1d
mmc: fsl_esdhc: fix f_max retrieval during init

for multi instance API we use struct fsl_esdhc_cfg to
pass the clock rate. Do not set f_max from global data,
since this is wrong for multi instance case.

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Tested-by: Eric Nelson <eric.nelson@boundarydevices.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/mmc/fsl_esdhc.c