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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user