Skip to content

Instantly share code, notes, and snippets.

@b-rad-NDi
Created September 20, 2018 16:15
Show Gist options
  • Save b-rad-NDi/aa5a877c760149c2fb24cd0e850fd7d7 to your computer and use it in GitHub Desktop.
Save b-rad-NDi/aa5a877c760149c2fb24cd0e850fd7d7 to your computer and use it in GitHub Desktop.
diff --git a/drivers/media/usb/au0828/au0828-core.c b/drivers/media/usb/au0828/au0828-core.c
index 5abab1eb..87b5486 100644
--- a/drivers/media/usb/au0828/au0828-core.c
+++ b/drivers/media/usb/au0828/au0828-core.c
@@ -626,8 +626,8 @@ static int au0828_usb_probe(struct usb_interface *interface,
/* Analog TV */
retval = au0828_analog_register(dev, interface);
if (retval) {
- pr_err("%s() au0282_dev_register failed to register on V4L2\n",
- __func__);
+ pr_err("%s() au0282_dev_register failed to register (%d) on V4L2\n",
+ __func__, retval);
mutex_unlock(&dev->lock);
goto done;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment