dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/mmc/host
Nicolas Pitre 019a5f56ec mmc: don't use weight32()
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>
2007-10-11 19:09:08 +02:00
..
Kconfig mmc: Disabler for Ricoh MMC controller 2007-10-03 18:40:05 +02:00
Makefile mmc: Disabler for Ricoh MMC controller 2007-10-03 18:40:05 +02:00
at91_mci.c mmc: at91_mci: disable handling of blocks with size not multiple of 4 bytes 2007-09-23 19:29:34 +02:00
au1xmmc.c mmc: remove confusing flag 2007-09-23 09:15:12 +02:00
au1xmmc.h mmc: Move host and card drivers to subdirs 2007-05-01 13:04:17 +02:00
imxmmc.c arm: i.MX/MX1 SDHC implements SD cards read-only switch read-back 2007-09-24 19:33:14 +02:00
imxmmc.h mmc: Move host and card drivers to subdirs 2007-05-01 13:04:17 +02:00
mmc_spi.c mmc_spi host driver 2007-09-23 22:17:27 +02:00
mmci.c mmc: don't use weight32() 2007-10-11 19:09:08 +02:00
mmci.h mmc: update header file paths 2007-07-26 01:53:31 +02:00
omap.c mmc: remove custom error codes 2007-09-23 08:46:48 +02:00
pxamci.c pxamci: support arbitrary block size 2007-10-10 20:13:29 +02:00
pxamci.h mmc: pxamci: add SDIO card interrupt reporting capability 2007-09-25 19:11:49 +02:00
ricoh_mmc.c mmc: Disabler for Ricoh MMC controller 2007-10-03 18:40:05 +02:00
sdhci.c sdhci: remove old dma module params 2007-10-03 18:40:49 +02:00
sdhci.h sdhci: fix a typo 2007-10-03 18:40:19 +02:00
tifm_sd.c mmc: don't use weight32() 2007-10-11 19:09:08 +02:00
wbsd.c mmc: remove BYTEBLOCK capability 2007-09-23 09:15:05 +02:00
wbsd.h mmc: update header file paths 2007-07-26 01:53:31 +02:00