Commit f347596f authored by Brad Love's avatar Brad Love Committed by Mauro Carvalho Chehab
Browse files

media: au0828: Fix incorrect error messages



Correcting red herring error messages.

Where appropriate, replaces au0282_dev_register with:
- au0828_analog_register
- au0828_dvb_register

Signed-off-by: default avatarBrad Love <brad@nextdimension.cc>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 4add7104
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -628,7 +628,7 @@ 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",
		pr_err("%s() au0828_analog_register failed to register on V4L2\n",
			__func__);
		mutex_unlock(&dev->lock);
		goto done;
@@ -637,7 +637,7 @@ static int au0828_usb_probe(struct usb_interface *interface,
	/* Digital TV */
	retval = au0828_dvb_register(dev);
	if (retval)
		pr_err("%s() au0282_dev_register failed\n",
		pr_err("%s() au0828_dvb_register failed\n",
		       __func__);

	/* Remote controller */