]> git.baikalelectronics.ru Git - kernel.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>
Sun, 24 Feb 2013 19:37:18 +0000 (14:37 -0500)
commit44443706268811240245ffe988f97df17f2dd4d5
tree592417a99036e0d52c32790c9cda9e97a9e38046
parent8d1a242b1f908a09f8cc36c8b0f64ed044a3e40e
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