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>
This commit is contained in:
Mauro Carvalho Chehab
2018-05-06 05:21:47 -04:00
parent b2353e1dcc
commit 782b9d2011
4 changed files with 17 additions and 12 deletions

View File

@@ -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;