Brian Rogers
f2594aa22a
saa7134: ir-kbd-i2c init data needs a persistent object
...
commit 7aedd5ec87686c557d48584d69ad880c11a0984d upstream.
Tested on MSI TV@nywhere Plus.
Original commit message:
ir-kbd-i2c's ir_probe() function can be called much later (i.e. at
ir-kbd-i2c module load), than the lifetime of a struct IR_i2c_init_data
allocated off of the stack in cx18_i2c_new_ir() at registration time.
Make sure we pass a pointer to a persistent IR_i2c_init_data object at
i2c registration time.
Thanks to Brian Rogers, Dustin Mitchell, Andy Walls and Jean Delvare to
rise this question.
Before this patch, if ir-kbd-i2c were probed after SAA7134, trash data
were used.
Compile tested only, but the patch is identical to em28xx one. So, it
should work properly.
Original-patch-by: Mauro Carvalho Chehab <mchehab@redhat.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
[brian@xyzw.org: backported for 2.6.31]
Signed-off-by: Brian Rogers <brian@xyzw.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-05 09:33:05 -07:00
..
2009-06-16 19:07:22 -03:00
2009-07-24 14:03:31 -03:00
2009-06-16 18:20:58 -03:00
2009-08-13 20:39:02 -03:00
2009-08-13 20:39:07 -03:00
2009-06-23 03:21:20 -03:00
2009-08-13 20:39:03 -03:00
2009-04-06 21:44:27 -03:00
2009-10-05 09:33:04 -07:00
2009-08-31 02:24:54 -03:00
2009-08-13 20:39:12 -03:00
2009-08-13 20:39:02 -03:00
2009-03-30 12:43:49 -03:00
2009-06-23 03:15:17 -03:00
2009-07-12 12:22:34 -07:00
2009-10-05 09:33:05 -07:00
2009-03-30 12:43:41 -03:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-08-13 20:39:05 -03:00
2009-07-12 12:22:34 -07:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-06-16 18:20:59 -03:00
2009-06-16 18:20:59 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-08-13 20:39:14 -03:00
2009-05-09 18:54:32 -03:00
2009-03-31 01:14:44 +04:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-06-23 03:14:31 -03:00
2009-07-12 12:22:34 -07:00
2009-06-16 18:20:58 -03:00
2009-06-16 18:20:58 -03:00
2009-03-30 12:43:11 -03:00
2009-03-30 12:43:10 -03:00
2009-06-16 18:21:11 -03:00
2009-08-13 20:39:11 -03:00
2009-04-06 21:44:27 -03:00
2009-03-30 12:42:59 -03:00
2009-04-06 21:44:27 -03:00
2009-07-05 14:30:02 -03:00
2009-04-07 08:31:11 -07:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-06-23 03:21:19 -03:00
2009-06-16 18:20:43 -03:00
2009-06-23 03:21:19 -03:00
2009-08-13 20:39:08 -03:00
2009-08-13 20:39:02 -03:00
2009-06-23 03:21:19 -03:00
2009-08-13 20:39:11 -03:00
2009-08-13 20:39:11 -03:00
2009-06-16 18:20:58 -03:00
2009-03-30 12:43:45 -03:00
2009-06-23 03:13:16 -03:00
2009-06-16 19:07:40 -03:00
2009-06-17 16:22:34 +09:00
2009-03-30 12:43:30 -03:00
2009-08-13 20:39:11 -03:00
2009-07-12 12:22:34 -07:00
2009-04-06 21:44:27 -03:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-03-30 12:43:47 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-03-30 12:43:15 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-03-30 12:43:10 -03:00
2009-07-12 12:22:34 -07:00
2009-06-16 19:07:54 -03:00
2009-08-13 20:39:11 -03:00
2009-03-30 12:43:21 -03:00
2009-07-05 14:29:56 -03:00
2009-08-13 20:39:13 -03:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-06-23 03:14:48 -03:00
2009-06-16 18:20:36 -03:00
2009-04-06 21:44:23 -03:00
2009-03-30 12:43:48 -03:00
2009-06-16 18:20:58 -03:00
2009-06-16 18:20:58 -03:00
2009-06-16 18:20:59 -03:00
2009-03-30 12:43:49 -03:00
2009-06-16 19:07:21 -03:00
2009-04-06 21:44:27 -03:00
2009-06-16 19:07:25 -03:00
2009-06-16 19:07:39 -03:00
2009-04-06 21:44:27 -03:00
2009-06-17 16:22:34 +09:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:44:27 -03:00
2009-04-06 21:43:50 -03:00
2009-06-23 03:21:20 -03:00
2009-03-30 12:43:15 -03:00
2009-07-12 12:22:34 -07:00
2009-06-16 19:07:26 -03:00
2009-08-13 20:39:12 -03:00
2009-06-16 19:07:51 -03:00
2009-06-16 21:15:42 -07:00
2009-06-16 19:07:34 -03:00
2009-06-16 19:07:26 -03:00
2009-07-05 10:05:10 -03:00
2009-04-06 21:44:22 -03:00
2009-04-06 21:44:27 -03:00
2009-03-30 12:43:15 -03:00
2009-06-23 03:21:19 -03:00
2009-04-06 21:44:26 -03:00
2009-03-30 12:43:49 -03:00
2009-04-06 21:44:27 -03:00
2009-08-31 02:24:53 -03:00