Linux Media Controller development
 help / color / mirror / Atom feed
From: "Alexey V. Vissarionov" <gremlin@altlinux.org>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: "Alexey V. Vissarionov" <gremlin@altlinux.org>,
	Manu Abraham <abraham.manu@gmail.com>,
	Luca Olivetti <luca@ventoso.org>,
	linux-media@vger.kernel.org, lvc-project@linuxtesting.org
Subject: [PATCH] AF9005: fix typo in the bitmask size
Date: Wed, 22 Jan 2025 03:01:03 +0300	[thread overview]
Message-ID: <20250122000103.GB12162@altlinux.org> (raw)

Found by ALT Linux Team (altlinux.org) and Linux Verification Center (linuxtesting.org)

Fixes: af4e067e1dcf ("V4L/DVB (5625): Add support for the AF9005 demodulator from Afatech")

Signed-off-by: Alexey V. Vissarionov <gremlin@altlinux.org>

diff --git a/drivers/media/usb/dvb-usb/af9005-fe.c b/drivers/media/usb/dvb-usb/af9005-fe.c
index 404e56b32145f1e6..4621c1d24d578ede 100644
--- a/drivers/media/usb/dvb-usb/af9005-fe.c
+++ b/drivers/media/usb/dvb-usb/af9005-fe.c
@@ -453,7 +453,7 @@ static int af9005_fe_read_status(struct dvb_frontend *fe,
 	ret = af9005_read_register_bits(state->d,
 					xd_r_mp2if_sync_byte_locked,
 					mp2if_sync_byte_locked_pos,
-					mp2if_sync_byte_locked_pos, &temp);
+					mp2if_sync_byte_locked_len, &temp);
 	if (ret)
 		return ret;
 	if (temp)

-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net

             reply	other threads:[~2025-01-22  0:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22  0:01 Alexey V. Vissarionov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-22  9:27 [PATCH] AF9005: fix typo in the bitmask size Alexey V. Vissarionov
2025-01-22  9:49 ` Fedor Pchelkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250122000103.GB12162@altlinux.org \
    --to=gremlin@altlinux.org \
    --cc=abraham.manu@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=luca@ventoso.org \
    --cc=lvc-project@linuxtesting.org \
    --cc=mchehab@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox