Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-08-23 08:21:12 +0200
committerTakashi Iwai <tiwai@suse.de>2018-08-23 08:21:22 +0200
commitfe00e925c1204af61f8b79f639a8d75ef0357d43 (patch)
tree1e493d6ff83b6a5b3d2d603fba6a0c8ced4c0a49
parent52f488c475b0d3255a8a3b88e18510c289537788 (diff)
mfd: sm501: Set coherent_dma_mask when creating subdevices
(bsc#1051510). suse-commit: 963690c0ce8ae5560b4ae3abec9f82a4bc99c923
-rw-r--r--drivers/mfd/sm501.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c
index 40534352e574..3270b8dbc949 100644
--- a/drivers/mfd/sm501.c
+++ b/drivers/mfd/sm501.c
@@ -714,6 +714,7 @@ sm501_create_subdev(struct sm501_devdata *sm, char *name,
smdev->pdev.name = name;
smdev->pdev.id = sm->pdev_id;
smdev->pdev.dev.parent = sm->dev;
+ smdev->pdev.dev.coherent_dma_mask = 0xffffffff;
if (res_count) {
smdev->pdev.resource = (struct resource *)(smdev+1);