V4L/DVB (6491): tuner: prevent repeated "type set" message unless debug is enabled
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 30 Oct 2007 12:44:12 +0000 (09:44 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:51 +0000 (19:01 -0200)
commit4942744f93884cb462400c66258c0013bea65dcf
tree738c39888d85eb3be910e1b26ef95cc0f2603435
parent7a06f3f2aab797a12f28cf0f4504ec4e346e97f9
V4L/DVB (6491): tuner: prevent repeated "type set" message unless debug is enabled

The tuner sub-module will usually log its type during its _attach() function,
then tuner-core reports which type was attached when control is returned.

In most cases, we expect to see the same message reported from both locations.
We only need to see this second message if debug is enabled.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-core.c