From 745b251a3a96f01cc224375751c144a66626fad9 Mon Sep 17 00:00:00 2001 From: Kenneth Aafloy Date: Fri, 18 Mar 2005 22:13:31 +0000 Subject: - Logic error made by me, found by Gregor Kroesen. --- linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c') diff --git a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index 12b278ed0..bdc6efde1 100644 --- a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c @@ -443,7 +443,7 @@ static int ttusb_init_controller(struct ttusb *ttusb) get_version[6], get_version[7], get_version[8]); } - ttusb->revision = ((get_version[6] - '0') << 8) | + ttusb->revision = ((get_version[6] - '0') << 4) | (get_version[8] - '0'); err = -- cgit v1.2.3