Frank Schaefer
2fcc82d883
[media] em28xx: fix two severe bugs in function em2800_i2c_recv_bytes()
...
Function em2800_i2c_recv_bytes() has 2 severe bugs:
1) It does not wait for the i2c read to complete before reading the received message content from the bridge registers.
2) Reading more than 1 byte doesn't work
The former can result in data corruption, the latter always does.
The rewritten code also superseds the content of function
em2800_i2c_check_for_device().
Tested with device "Terratec Cinergy 200 USB".
[mchehab@redhat.com: Fix CodingStyle issues]
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-01-05 01:16:01 -02:00
..
2012-12-14 10:03:23 -08:00
2012-12-17 10:04:27 -08:00
2012-12-15 12:37:18 -08:00
2012-12-19 14:53:53 -08:00
2012-12-20 18:50:02 -05:00
2012-12-19 12:47:41 -08:00
2012-12-20 14:00:13 -08:00
2012-12-12 18:07:07 -08:00
2012-12-16 15:23:37 -08:00
2012-12-20 08:37:05 -08:00
2012-12-19 12:47:41 -08:00
2012-12-14 14:54:26 -08:00
2012-12-11 12:45:35 -08:00
2012-12-12 12:05:15 -08:00
2012-12-18 09:58:09 -08:00
2012-12-07 23:13:36 +01:00
2012-12-17 17:15:13 -08:00
2012-12-14 14:27:45 -08:00
2012-12-13 12:00:02 -08:00
2012-12-20 17:40:19 -08:00
2012-12-19 22:15:14 +00:00
2012-12-19 20:24:25 -08:00
2012-12-28 12:21:58 -02:00
2012-12-19 22:17:02 +01:00
2012-12-18 16:51:10 -08:00
2012-12-16 18:55:20 -08:00
2012-12-21 16:40:26 -08:00
2012-12-19 12:56:42 -08:00
2012-12-20 10:07:25 -08:00
2012-12-11 14:08:47 -08:00
2012-12-14 14:42:53 -08:00
2012-12-14 13:14:07 -05:00
2012-12-15 12:52:42 -08:00
2012-12-18 15:19:06 +10:30
2012-12-18 09:58:09 -08:00
2012-12-21 17:08:06 -08:00
2013-01-05 01:16:01 -02:00
2012-12-18 15:02:12 -08:00
2012-12-20 07:21:54 -08:00
2012-12-21 17:10:29 -08:00
2012-12-16 18:55:20 -08:00
2012-12-20 07:39:03 -08:00
2012-12-21 16:40:26 -08:00
2012-12-19 10:58:53 +00:00
2012-12-13 14:20:19 -08:00
2012-12-12 11:45:16 -08:00
2012-12-18 19:00:25 -08:00
2012-12-17 17:15:14 -08:00
2012-12-11 13:13:55 -08:00
2012-12-19 08:14:08 -08:00
2012-12-12 18:07:07 -08:00
2012-12-19 08:19:07 -08:00
2012-12-11 13:13:55 -08:00
2012-12-13 12:00:02 -08:00
2012-12-13 12:00:02 -08:00
2012-12-18 15:20:36 +10:30
2012-12-20 17:40:20 -08:00
2012-12-13 14:20:19 -08:00
2012-12-21 16:40:26 -08:00
2012-12-19 15:11:41 +00:00
2012-12-14 14:27:45 -08:00
2012-12-27 12:44:11 -02:00
2012-12-15 14:25:10 -08:00
2012-12-13 12:00:02 -08:00
2012-12-16 11:28:10 -08:00
2012-12-12 12:05:15 -08:00
2012-12-17 17:15:13 -08:00
2012-12-07 13:43:51 -07:00
2012-12-15 14:25:10 -08:00
2012-12-18 15:02:11 -08:00
2012-12-18 09:58:09 -08:00
2012-12-20 08:37:05 -08:00
2012-12-16 15:23:37 -08:00
2012-12-19 22:25:10 +01:00
2012-12-16 17:39:14 -08:00