mmc: renesas_sdhi: use extra flag for CBSY usage
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 9 Aug 2017 19:00:41 +0000 (21:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:58 +0000 (14:01 +0200)
commit5124b59202eb3118eba5ac2222dc00f3390549a8
tree727a26089e7357ada2adeae5896ed05e481358d1
parentdde6256bf839e1ece2e9dcfa7dc6fedfa353b4ef
mmc: renesas_sdhi: use extra flag for CBSY usage

There is one SDHI instance on Gen2 which does not have the CBSY bit.
So, turn CBSY usage into an extra flag and set it accordingly. This has
the additional advantage that we can also set it for other incarnations
later.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Chris Brandt <Chris.Brandt@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_core.c
drivers/mmc/host/renesas_sdhi_internal_dmac.c
drivers/mmc/host/renesas_sdhi_sys_dmac.c
include/linux/mfd/tmio.h