[lvc-project] [PATCH] AF9005: fix typo in the bitmask size
    Alexey V. Vissarionov 
    gremlin at altlinux.org
       
    Wed Jan 22 12:27:33 MSK 2025
    
    
  
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 at 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
    
    
More information about the lvc-project
mailing list