V4L/DVB (9623): tvaudio: Improve debug msg by printing something more human

Before the patch, the used ioctl were printed as an hexadecimal code,
hard to be understand without consulting the way _IO macros work.
Instead, use the V4L default handler for printing such errors into a way
that would be easier to understand.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

+5 -1
+5 -1
drivers/media/video/tvaudio.c
··· 34 34 35 35 #include <media/tvaudio.h> 36 36 #include <media/v4l2-common.h> 37 + #include <media/v4l2-ioctl.h> 37 38 #include <media/v4l2-chip-ident.h> 38 39 #include <media/v4l2-i2c-drv-legacy.h> 39 40 ··· 1733 1732 struct CHIPSTATE *chip = i2c_get_clientdata(client); 1734 1733 struct CHIPDESC *desc = chip->desc; 1735 1734 1736 - v4l_dbg(1, debug, chip->c, "%s: chip_command 0x%x\n", chip->c->name, cmd); 1735 + if (debug > 0) { 1736 + v4l_i2c_print_ioctl(chip->c, cmd); 1737 + printk("\n"); 1738 + } 1737 1739 1738 1740 switch (cmd) { 1739 1741 case AUDC_SET_RADIO: