aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb/gp8psk.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-05 12:09:46 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-14 07:18:19 -0400
commitb2353e1dccceaee1703656c6fa5806ed193fced8 (patch)
treed9031013085ddf1b150ca4e42a7c7d73a5f09c50 /drivers/media/usb/dvb-usb/gp8psk.c
parentmedia: rc: ite-cir: lower timeout and extend allowed timeout range (diff)
downloadlinux-dev-b2353e1dccceaee1703656c6fa5806ed193fced8.tar.xz
linux-dev-b2353e1dccceaee1703656c6fa5806ed193fced8.zip
media: gp8psk: don't abuse of GFP_DMA
There's s no reason why it should be using GFP_DMA there. This is an USB driver. Any restriction should be, instead, at HCI core, if any. Cc: "Luis R. Rodriguez" <mcgrof@kernel.org> Cc: linux-mm@kvack.org Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/dvb-usb/gp8psk.c')
-rw-r--r--drivers/media/usb/dvb-usb/gp8psk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb/gp8psk.c b/drivers/media/usb/dvb-usb/gp8psk.c
index 37f062225ed2..334b9fb98112 100644
--- a/drivers/media/usb/dvb-usb/gp8psk.c
+++ b/drivers/media/usb/dvb-usb/gp8psk.c
@@ -148,7 +148,7 @@ static int gp8psk_load_bcm4500fw(struct dvb_usb_device *d)
info("downloading bcm4500 firmware from file '%s'",bcm4500_firmware);
ptr = fw->data;
- buf = kmalloc(64, GFP_KERNEL | GFP_DMA);
+ buf = kmalloc(64, GFP_KERNEL);
if (!buf) {
ret = -ENOMEM;
goto out_rel_fw;