aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/cypress_firmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/cypress_firmware.c')
-rw-r--r--drivers/media/common/cypress_firmware.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/common/cypress_firmware.c b/drivers/media/common/cypress_firmware.c
index 50e3f76d4847..bfe47bc5f716 100644
--- a/drivers/media/common/cypress_firmware.c
+++ b/drivers/media/common/cypress_firmware.c
@@ -75,10 +75,8 @@ int cypress_load_firmware(struct usb_device *udev,
75 int ret, pos = 0; 75 int ret, pos = 0;
76 76
77 hx = kmalloc(sizeof(struct hexline), GFP_KERNEL); 77 hx = kmalloc(sizeof(struct hexline), GFP_KERNEL);
78 if (!hx) { 78 if (!hx)
79 dev_err(&udev->dev, "%s: kmalloc() failed\n", KBUILD_MODNAME);
80 return -ENOMEM; 79 return -ENOMEM;
81 }
82 80
83 /* stop the CPU */ 81 /* stop the CPU */
84 hx->data[0] = 1; 82 hx->data[0] = 1;