]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: si2168: fw 4.0-11 loses warm state during sleep
authorBradford Love <brad@nextdimension.cc>
Thu, 12 Mar 2026 21:35:28 +0000 (16:35 -0500)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 17 Mar 2026 09:50:19 +0000 (10:50 +0100)
Ignoring version 4.0-11 firmware leads to non functional devices
after sleep on all Hauppauge DVB devices containing the si2168 and
firmware version 4.0-11.

Signed-off-by: Bradford Love <brad@nextdimension.cc>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/dvb-frontends/si2168.c

index b973d61c3720170607c4c402b541dbf1fbf682fe..9c5bac8cda477c79a8d55b4cd3b6c650a5f5d4ad 100644 (file)
@@ -574,8 +574,8 @@ static int si2168_sleep(struct dvb_frontend *fe)
        if (ret)
                goto err;
 
-       /* Firmware later than B 4.0-11 loses warm state during sleep */
-       if (dev->version > ('B' << 24 | 4 << 16 | 0 << 8 | 11 << 0))
+       /* Firmware B 4.0-11 and later lose warm state during sleep */
+       if (dev->version >= ('B' << 24 | 4 << 16 | 0 << 8 | 11 << 0))
                dev->warm = false;
 
        cmd_init(&cmd, "\x13", 1, 0);