Chris Pascoe
0a196b6fa9
V4L/DVB (6642): xc2028: don't duplicate max_len in priv
...
There is no need to duplicate the max_len field from the ctrl structure
in the private data. If we use it directly from priv->ctrl, we can memcpy
the structure (apart from strings) to reduce maintenance as it grows.
Enforce a minimum max_len length of 8 data bytes (+ 1 address byte) as seems
to be required by the tuner.
Also, use kstrdup instead of open coding the string duplication.
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au >
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org >
2008-01-25 19:02:27 -02:00
..
2008-01-24 20:40:40 -08:00
2008-01-19 21:29:39 -08:00
2008-01-20 20:31:44 -08:00
2008-01-24 22:50:12 -08:00
2008-01-24 20:40:40 -08:00
2008-01-10 22:24:43 -08:00
2007-10-24 13:21:21 +02:00
2008-01-25 08:38:25 -08:00
2008-01-08 23:44:44 -08:00
2008-01-24 20:40:40 -08:00
2008-01-24 20:40:40 -08:00
2008-01-25 08:38:25 -08:00
2008-01-24 20:40:05 -08:00
2008-01-24 20:40:40 -08:00
2007-12-10 21:55:19 +01:00
2008-01-24 20:40:40 -08:00
2007-10-31 13:30:35 +01:00
2008-01-22 07:21:38 -05:00
2008-01-24 20:40:08 -08:00
2008-01-24 20:40:36 -08:00
2008-01-24 20:40:44 -08:00
2008-01-24 20:40:40 -08:00
2008-01-21 22:34:31 -08:00
2008-01-25 08:35:13 -08:00
2008-01-24 20:40:40 -08:00
2007-12-31 23:11:11 +00:00
2008-01-19 21:29:39 -08:00
2008-01-24 20:40:40 -08:00
2008-01-24 20:40:40 -08:00
2008-01-25 19:02:27 -02:00
2007-11-05 15:12:31 -08:00
2008-01-24 20:40:06 -08:00
2008-01-24 20:40:08 -08:00
2007-12-12 20:01:00 +01:00
2008-01-24 20:40:06 -08:00
2008-01-24 20:40:40 -08:00
2007-11-14 18:45:37 -08:00
2008-01-24 20:40:40 -08:00
2007-12-17 19:28:15 -08:00
2008-01-24 20:40:40 -08:00
2008-01-24 20:40:33 -08:00
2008-01-17 15:38:58 -08:00
2008-01-24 20:40:44 -08:00
2007-12-23 12:54:37 -08:00
2008-01-24 20:40:44 -08:00
2008-01-24 20:40:34 -08:00
2007-11-19 21:09:52 +00:00
2008-01-24 20:40:45 -08:00
2008-01-24 20:40:09 -08:00
2007-11-07 11:13:55 +09:00
2008-01-24 20:40:45 -08:00
2008-01-08 23:30:10 -08:00
2007-11-05 15:12:33 -08:00
2008-01-24 20:40:43 -08:00
2008-01-24 20:40:33 -08:00
2008-01-25 08:31:40 +01:00
2007-11-19 11:20:42 +11:00
2008-01-22 09:17:48 -08:00
2008-01-25 08:31:41 +01:00
2007-11-26 19:15:31 -08:00
2007-10-23 15:49:54 +10:00
2007-10-23 16:37:29 -07:00