]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: omap_hsmmc: Cleanup use of cpu_is_* for debounce_clock
authorRajendra Nayak <rnayak@ti.com>
Mon, 9 Apr 2012 06:38:35 +0000 (12:08 +0530)
committerChris Ball <cjb@laptop.org>
Sun, 22 Apr 2012 15:16:53 +0000 (11:16 -0400)
commitcd03d9a85802c0023e522c21a1dabaf3e5785010
treef70a9a6052cfbd1cfc7b3d8535fbb8517bc48bcf
parent31463b141587001781d86b2ef360544f101bd998
mmc: omap_hsmmc: Cleanup use of cpu_is_* for debounce_clock

There really does not seem to be a need to use cpu_is_* check for getting
the debounce clock as clkdev is perfectly capable of handling situations
when certain clocks are only available on select platforms.

Also get rid of the 'got_dbclk' flag and instead use the dbclk clock
pointer to know if a valid debounce clock exists for the platform.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c