Commit 57c3c67f authored by Bradford Love's avatar Bradford Love Committed by Hans Verkuil
Browse files

media: si2168: fw 4.0-11 loses warm state during sleep



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: default avatarBradford Love <brad@nextdimension.cc>
Signed-off-by: default avatarHans Verkuil <hverkuil+cisco@kernel.org>
parent 3c414622
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);