019a5f56ec
Using weight32() to determine if a value is a power of 2 is a rather heavi weight solution. The classic idiom is (x & (x - 1)) == 0, but the kernel already provide a is_power_of_2 function for it. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
at91_mci.c | ||
au1xmmc.c | ||
au1xmmc.h | ||
imxmmc.c | ||
imxmmc.h | ||
mmc_spi.c | ||
mmci.c | ||
mmci.h | ||
omap.c | ||
pxamci.c | ||
pxamci.h | ||
ricoh_mmc.c | ||
sdhci.c | ||
sdhci.h | ||
tifm_sd.c | ||
wbsd.c | ||
wbsd.h |