diff options
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c index 192b76cdd5d7..7375353c04eb 100644 --- a/drivers/media/video/em28xx/em28xx-core.c +++ b/drivers/media/video/em28xx/em28xx-core.c | |||
@@ -938,7 +938,7 @@ int em28xx_init_isoc(struct em28xx *dev, int max_packets, | |||
938 | dev->isoc_ctl.transfer_buffer = kzalloc(sizeof(void *)*num_bufs, | 938 | dev->isoc_ctl.transfer_buffer = kzalloc(sizeof(void *)*num_bufs, |
939 | GFP_KERNEL); | 939 | GFP_KERNEL); |
940 | if (!dev->isoc_ctl.transfer_buffer) { | 940 | if (!dev->isoc_ctl.transfer_buffer) { |
941 | em28xx_errdev("cannot allocate memory for usbtransfer\n"); | 941 | em28xx_errdev("cannot allocate memory for usb transfer\n"); |
942 | kfree(dev->isoc_ctl.urb); | 942 | kfree(dev->isoc_ctl.urb); |
943 | return -ENOMEM; | 943 | return -ENOMEM; |
944 | } | 944 | } |