Commit d28003a1 authored by Russell King's avatar Russell King Committed by Greg Kroah-Hartman

em28xx: ensure "closing" messages terminate with a newline

commit 0418ca60 upstream.

The lockdep splat addressed in a previous commit revealed that at
least one message in em28xx-input.c was missing a new line:

em28178 #0: Closing input extensionINFO: trying to register non-static key.

Further inspection shows several other messages also miss a new line.
These will be fixed in a subsequent patch.

Fixes: aa929ad7 ("[media] em28xx: print a message at disconnect")
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: default avatarFrank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 33b2fb5f
...@@ -982,7 +982,7 @@ static int em28xx_audio_fini(struct em28xx *dev) ...@@ -982,7 +982,7 @@ static int em28xx_audio_fini(struct em28xx *dev)
return 0; return 0;
} }
em28xx_info("Closing audio extension"); em28xx_info("Closing audio extension\n");
if (dev->adev.sndcard) { if (dev->adev.sndcard) {
snd_card_disconnect(dev->adev.sndcard); snd_card_disconnect(dev->adev.sndcard);
......
...@@ -1667,7 +1667,7 @@ static int em28xx_dvb_fini(struct em28xx *dev) ...@@ -1667,7 +1667,7 @@ static int em28xx_dvb_fini(struct em28xx *dev)
if (!dev->dvb) if (!dev->dvb)
return 0; return 0;
em28xx_info("Closing DVB extension"); em28xx_info("Closing DVB extension\n");
dvb = dev->dvb; dvb = dev->dvb;
client = dvb->i2c_client_tuner; client = dvb->i2c_client_tuner;
......
...@@ -833,7 +833,7 @@ static int em28xx_ir_fini(struct em28xx *dev) ...@@ -833,7 +833,7 @@ static int em28xx_ir_fini(struct em28xx *dev)
return 0; return 0;
} }
em28xx_info("Closing input extension"); em28xx_info("Closing input extension\n");
em28xx_shutdown_buttons(dev); em28xx_shutdown_buttons(dev);
......
...@@ -1956,7 +1956,7 @@ static int em28xx_v4l2_fini(struct em28xx *dev) ...@@ -1956,7 +1956,7 @@ static int em28xx_v4l2_fini(struct em28xx *dev)
if (v4l2 == NULL) if (v4l2 == NULL)
return 0; return 0;
em28xx_info("Closing video extension"); em28xx_info("Closing video extension\n");
mutex_lock(&dev->lock); mutex_lock(&dev->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment