diff options
| -rw-r--r-- | drivers/media/usb/hdpvr/hdpvr-core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/usb/hdpvr/hdpvr-core.c b/drivers/media/usb/hdpvr/hdpvr-core.c index 2f0c89cbac76..c5638964c3f2 100644 --- a/drivers/media/usb/hdpvr/hdpvr-core.c +++ b/drivers/media/usb/hdpvr/hdpvr-core.c | |||
| @@ -198,7 +198,6 @@ static int device_authorization(struct hdpvr_device *dev) | |||
| 198 | hex_dump_to_buffer(response, 8, 16, 1, print_buf, 5*buf_size+1, 0); | 198 | hex_dump_to_buffer(response, 8, 16, 1, print_buf, 5*buf_size+1, 0); |
| 199 | v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, " response: %s\n", | 199 | v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, " response: %s\n", |
| 200 | print_buf); | 200 | print_buf); |
| 201 | kfree(print_buf); | ||
| 202 | #endif | 201 | #endif |
| 203 | 202 | ||
| 204 | msleep(100); | 203 | msleep(100); |
| @@ -214,6 +213,9 @@ static int device_authorization(struct hdpvr_device *dev) | |||
| 214 | retval = ret != 8; | 213 | retval = ret != 8; |
| 215 | unlock: | 214 | unlock: |
| 216 | mutex_unlock(&dev->usbc_mutex); | 215 | mutex_unlock(&dev->usbc_mutex); |
| 216 | #ifdef HDPVR_DEBUG | ||
| 217 | kfree(print_buf); | ||
| 218 | #endif | ||
| 217 | return retval; | 219 | return retval; |
| 218 | } | 220 | } |
| 219 | 221 | ||
