diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-06 05:21:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-15 08:04:42 -0400 |
commit | 782b9d201112ae526a823ddba522c88c761585c7 (patch) | |
tree | 755658b67e23749b1c84e6f57b4653e591cdedf5 /drivers/media/mmc | |
parent | b2353e1dccceaee1703656c6fa5806ed193fced8 (diff) | |
download | blackbird-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.c | 2 |
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(¶ms, &smsdev->coredev, NULL); + ret = smscore_register_device(¶ms, &smsdev->coredev, GFP_DMA, NULL); if (ret < 0) goto free; |