diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2018-06-28 12:20:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-17 13:32:34 -0400 |
commit | 7bb3c33892ea5b6e272ac89bfab894dc33d48a64 (patch) | |
tree | a75cc4409ebece4d84c30f228be0f2e1931365b2 /drivers/media/i2c/tvp5150.c | |
parent | 2f0a5c65d16297bfc145432da4bc6e9507f55c9b (diff) | |
download | blackbird-obmc-linux-7bb3c33892ea5b6e272ac89bfab894dc33d48a64.tar.gz blackbird-obmc-linux-7bb3c33892ea5b6e272ac89bfab894dc33d48a64.zip |
media: tvp5150: add sync lock/loss signal debug messages
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c/tvp5150.c')
-rw-r--r-- | drivers/media/i2c/tvp5150.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/i2c/tvp5150.c b/drivers/media/i2c/tvp5150.c index ab0d3c137481..ad55ee362b0b 100644 --- a/drivers/media/i2c/tvp5150.c +++ b/drivers/media/i2c/tvp5150.c @@ -821,6 +821,9 @@ static irqreturn_t tvp5150_isr(int irq, void *dev_id) if (status & TVP5150_INT_A_LOCK) { decoder->lock = !!(status & TVP5150_INT_A_LOCK_STATUS); + dev_dbg_lvl(decoder->sd.dev, 1, debug, + "sync lo%s signal\n", + decoder->lock ? "ck" : "ss"); v4l2_subdev_notify_event(&decoder->sd, &tvp5150_ev_fmt); regmap_update_bits(map, TVP5150_MISC_CTL, mask, decoder->lock ? decoder->oe : 0); |