mmc: sdhci-bcm-kona: fix logic to check for 8-bit data width
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 16 Sep 2015 09:53:20 +0000 (11:53 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Oct 2015 14:59:55 +0000 (15:59 +0100)
commit28804293b9086100ae784a15d62ebf6249db433c
tree8eed7bea8684a18bcebab79ae908b8d01bfa8590
parenta30b55119d086d33bd6046dfdd4723c810fd2579
mmc: sdhci-bcm-kona: fix logic to check for 8-bit data width

The driver prints if the data width is 8-bit but it's using a
binary OR instead of a binary AND so it will always report as
"is_8bit=Y" regardless of the flags in host->mmc->caps.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-bcm-kona.c