mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
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>
This commit is contained in:
parent
2f0a5c65d1
commit
7bb3c33892
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user