diff options
-rw-r--r-- | drivers/media/video/tvaudio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index 779ce7f865c3..fb46ce4a1090 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c | |||
@@ -34,6 +34,7 @@ | |||
34 | 34 | ||
35 | #include <media/tvaudio.h> | 35 | #include <media/tvaudio.h> |
36 | #include <media/v4l2-common.h> | 36 | #include <media/v4l2-common.h> |
37 | #include <media/v4l2-ioctl.h> | ||
37 | #include <media/v4l2-chip-ident.h> | 38 | #include <media/v4l2-chip-ident.h> |
38 | #include <media/v4l2-i2c-drv-legacy.h> | 39 | #include <media/v4l2-i2c-drv-legacy.h> |
39 | 40 | ||
@@ -1732,7 +1733,10 @@ static int chip_command(struct i2c_client *client, | |||
1732 | struct CHIPSTATE *chip = i2c_get_clientdata(client); | 1733 | struct CHIPSTATE *chip = i2c_get_clientdata(client); |
1733 | struct CHIPDESC *desc = chip->desc; | 1734 | struct CHIPDESC *desc = chip->desc; |
1734 | 1735 | ||
1735 | v4l_dbg(1, debug, chip->c, "%s: chip_command 0x%x\n", chip->c->name, cmd); | 1736 | if (debug > 0) { |
1737 | v4l_i2c_print_ioctl(chip->c, cmd); | ||
1738 | printk("\n"); | ||
1739 | } | ||
1736 | 1740 | ||
1737 | switch (cmd) { | 1741 | switch (cmd) { |
1738 | case AUDC_SET_RADIO: | 1742 | case AUDC_SET_RADIO: |