projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0630efe
)
media: gp8psk: don't abuse of GFP_DMA
author
Mauro Carvalho Chehab
<
[email protected]
>
Sat, 5 May 2018 16:09:46 +0000
(12:09 -0400)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Mon, 14 May 2018 11:18:19 +0000
(07:18 -0400)
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" <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/usb/dvb-usb/gp8psk.c
patch
|
blob
|
history
diff --git
a/drivers/media/usb/dvb-usb/gp8psk.c
b/drivers/media/usb/dvb-usb/gp8psk.c
index 37f062225ed213a00f54ed6dc551971a41c8f5c5..334b9fb981120f7a45898d80897b819bbe6875db 100644
(file)
--- 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;