summaryrefslogtreecommitdiffstats
path: root/drivers/media/mmc
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-06 05:21:47 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-15 08:04:42 -0400
commit782b9d201112ae526a823ddba522c88c761585c7 (patch)
tree755658b67e23749b1c84e6f57b4653e591cdedf5 /drivers/media/mmc
parentb2353e1dccceaee1703656c6fa5806ed193fced8 (diff)
downloadblackbird-op-linux-782b9d201112ae526a823ddba522c88c761585c7.tar.gz
blackbird-op-linux-782b9d201112ae526a823ddba522c88c761585c7.zip
media: siano: use GFP_DMA only for smssdio
Right now, the Siano's core uses GFP_DMA for both USB and SDIO variants of the driver. There's no reason to use it for USB. So, pass GFP_DMA as a parameter during sms core register. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/mmc')
-rw-r--r--drivers/media/mmc/siano/smssdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/mmc/siano/smssdio.c b/drivers/media/mmc/siano/smssdio.c
index fee2d710bbf8..b9e40d4ca0e8 100644
--- a/drivers/media/mmc/siano/smssdio.c
+++ b/drivers/media/mmc/siano/smssdio.c
@@ -279,7 +279,7 @@ static int smssdio_probe(struct sdio_func *func,
goto free;
}
- ret = smscore_register_device(&params, &smsdev->coredev, NULL);
+ ret = smscore_register_device(&params, &smsdev->coredev, GFP_DMA, NULL);
if (ret < 0)
goto free;
OpenPOWER on IntegriCloud