Skip to contentSkip to conversation

media: rc: nuvoton-cir: switch chip detection message to info level

PATCH New Heiner Kallweit 1 participant 1 message Oct 29, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 9/9 media: rc: nuvoton-cir: switch chip detection message to info level

Switch the info about the detected chip type from debug to info level as it might be useful not only for debugging purposes.

---
 drivers/media/rc/nuvoton-cir.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/media/rc/nuvoton-cir.c +3 -2
index 1ba9c99..18adf58 100644
@@ -278,8 +278,9 @@ static void nvt_hw_detect(struct nvt_dev *nvt)
 			 "unknown chip, id: 0x%02x 0x%02x, it may not work...",
 			 nvt->chip_major, nvt->chip_minor);
 	else
-		nvt_dbg("found %s or compatible: chip id: 0x%02x 0x%02x",
-			chip_name, nvt->chip_major, nvt->chip_minor);
+		dev_info(&nvt->pdev->dev,
+			 "found %s or compatible: chip id: 0x%02x 0x%02x",
+			 chip_name, nvt->chip_major, nvt->chip_minor);
 
 	nvt_efm_disable(nvt);
 }
Signature · 1 line
2.6.2