]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhi, tmio: only check flags in tmio-mmc driver proper
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 15 Feb 2013 15:13:50 +0000 (16:13 +0100)
committerChris Ball <cjb@laptop.org>
Mon, 18 Feb 2013 12:52:35 +0000 (07:52 -0500)
commit08b403e33341516f5d33e144d0737614051d97b6
tree592417a99036e0d52c32790c9cda9e97a9e38046
parent195a3d8a800e40b19e98b716005cb41f69e869c6
mmc: sdhi, tmio: only check flags in tmio-mmc driver proper

tmio-mmc platform flags can be set by various means, including caller
drivers and device-tree bindings, therefore it is better to only check
them in the tmio-mmc driver proper, not in caller drivers themselves.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mobile_sdhi.c
drivers/mmc/host/tmio_mmc_pio.c