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/usb/siano | |
parent | b2353e1dccceaee1703656c6fa5806ed193fced8 (diff) | |
download | linux-782b9d201112ae526a823ddba522c88c761585c7.tar.gz linux-782b9d201112ae526a823ddba522c88c761585c7.tar.bz2 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/usb/siano')
-rw-r--r-- | drivers/media/usb/siano/smsusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c index 6d436e9e454f..be3634407f1f 100644 --- a/drivers/media/usb/siano/smsusb.c +++ b/drivers/media/usb/siano/smsusb.c @@ -455,7 +455,7 @@ static int smsusb_init_device(struct usb_interface *intf, int board_id) mdev = siano_media_device_register(dev, board_id); /* register in smscore */ - rc = smscore_register_device(¶ms, &dev->coredev, mdev); + rc = smscore_register_device(¶ms, &dev->coredev, 0, mdev); if (rc < 0) { pr_err("smscore_register_device(...) failed, rc %d\n", rc); smsusb_term_device(intf); |