]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mmc: Fix version check for clock API in sdhci driver
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 17 Aug 2012 10:18:54 +0000 (10:18 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 5 Sep 2012 22:33:25 +0000 (17:33 -0500)
commit073cfd1c040b9cce9289cacf4d4963460322dc2b
treef5b89e15eca436dd62499c047edc6efdf4ad65af
parentd1424ee544a501b4971d491219158bb0f092fc8c
mmc: Fix version check for clock API in sdhci driver

When setting up the clocks in the sdhci driver, the "spec version"
must be masked off.  Otherwise any time the vendor version is not 0,
the check will allways assume the interface is version 3.  This breaks
when the interface is actually version 1 or 2.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/mmc/sdhci.c