1
0
Fork 0

[media] em28xx: ensure "closing" messages terminate with a newline

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: aa929ad783 ("[media] em28xx: print a message at disconnect")

Cc: <stable@vger.kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
hifive-unleashed-5.1
Russell King 2014-12-20 09:45:20 -03:00 committed by Mauro Carvalho Chehab
parent bbfebeea76
commit 0418ca6073
4 changed files with 4 additions and 4 deletions

View File

@ -981,7 +981,7 @@ static int em28xx_audio_fini(struct em28xx *dev)
return 0;
}
em28xx_info("Closing audio extension");
em28xx_info("Closing audio extension\n");
if (dev->adev.sndcard) {
snd_card_disconnect(dev->adev.sndcard);

View File

@ -1724,7 +1724,7 @@ static int em28xx_dvb_fini(struct em28xx *dev)
if (!dev->dvb)
return 0;
em28xx_info("Closing DVB extension");
em28xx_info("Closing DVB extension\n");
dvb = dev->dvb;
client = dvb->i2c_client_tuner;

View File

@ -832,7 +832,7 @@ static int em28xx_ir_fini(struct em28xx *dev)
return 0;
}
em28xx_info("Closing input extension");
em28xx_info("Closing input extension\n");
em28xx_shutdown_buttons(dev);

View File

@ -1958,7 +1958,7 @@ static int em28xx_v4l2_fini(struct em28xx *dev)
if (v4l2 == NULL)
return 0;
em28xx_info("Closing video extension");
em28xx_info("Closing video extension\n");
mutex_lock(&dev->lock);