git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b69587e
)
mmc: sdhci-esdhc-imx: merge the same register check into one place
author
Dong Aisheng
<aisheng.dong@freescale.com>
Wed, 27 May 2015 10:13:26 +0000
(18:13 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:07:15 +0000
(09:07 +0200)
In esdhc_writel_le() function, there's duplicated checking of the same
register as follows:
"if (unlikely(reg == SDHCI_INT_ENABLE || reg == SDHCI_SIGNAL_ENABLE))".
Merge them into one and remove the duplicated one.
Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c
patch
|
blob
|
history
diff --cc
drivers/mmc/host/sdhci-esdhc-imx.c
Simple merge