Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65c51dc9 authored by Alexey Klimov's avatar Alexey Klimov Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (10456): radio-mr800: place dev_err instead of dev_warn



There should be dev_err message if video_register_device() fails.
Correct this situation.

Signed-off-by: default avatarAlexey Klimov <klimov.linux@gmail.com>
Signed-off-by: default avatarDouglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a5d69475
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -669,7 +669,7 @@ static int usb_amradio_probe(struct usb_interface *intf,
	video_set_drvdata(radio->videodev, radio);
	retval = video_register_device(radio->videodev,	VFL_TYPE_RADIO,	radio_nr);
	if (retval < 0) {
		dev_warn(&intf->dev, "could not register video device\n");
		dev_err(&intf->dev, "could not register video device\n");
		video_device_release(radio->videodev);
		kfree(radio->buffer);
		kfree(radio);