projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7876320
)
mmc: sdhi: sys_dmac: check for all Gen3 types when whitelisting
author
Wolfram Sang
<
[email protected]
>
Tue, 11 Sep 2018 13:06:26 +0000
(15:06 +0200)
committer
Ulf Hansson
<
[email protected]
>
Mon, 17 Sep 2018 18:15:40 +0000
(20:15 +0200)
Fixes: 26eb2607fa28 ("mmc: renesas_sdhi: add eMMC HS400 mode support")
Signed-off-by: Wolfram Sang <
[email protected]
>
Reviewed-by: Simon Horman <
[email protected]
>
Signed-off-by: Ulf Hansson <
[email protected]
>
drivers/mmc/host/renesas_sdhi_sys_dmac.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/renesas_sdhi_sys_dmac.c
b/drivers/mmc/host/renesas_sdhi_sys_dmac.c
index 890f192dedbdcc9cb693c2c4159c1b0727cad216..5389c48218820166209a7de463c01084366b1fe4 100644
(file)
--- a/
drivers/mmc/host/renesas_sdhi_sys_dmac.c
+++ b/
drivers/mmc/host/renesas_sdhi_sys_dmac.c
@@
-498,7
+498,8
@@
static const struct soc_device_attribute gen3_soc_whitelist[] = {
static int renesas_sdhi_sys_dmac_probe(struct platform_device *pdev)
{
- if (of_device_get_match_data(&pdev->dev) == &of_rcar_gen3_compatible &&
+ if ((of_device_get_match_data(&pdev->dev) == &of_rcar_gen3_compatible ||
+ of_device_get_match_data(&pdev->dev) == &of_rcar_r8a7795_compatible) &&
!soc_device_match(gen3_soc_whitelist))
return -ENODEV;