Richard Purdie
28ee086d5b
backlight: Fix external uses of backlight internal semaphore
...
backlight_device->sem has a very specific use as documented in the
header file. The external users of this are using it for a different
reason, to serialise access to the update_status() method.
backlight users were supposed to implement their own internal
serialisation of update_status() if needed but everyone is doing
things differently and incorrectly. Therefore add a global mutex to
take care of serialisation for everyone, once and for all.
Locking for get_brightness remains optional since most users don't
need it.
Also update the lcd class in a similar way.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2007-02-20 08:38:45 +00:00
..
2007-02-11 10:51:34 -08:00
2007-02-04 20:54:10 +01:00
2007-02-09 15:27:50 +00:00
2007-02-08 12:39:16 -08:00
2007-02-12 11:13:14 -08:00
2007-02-08 12:39:23 -08:00
2007-02-14 08:09:53 -08:00
2007-02-09 09:25:47 -08:00
2007-02-12 09:48:31 -08:00
2007-02-14 08:09:55 -08:00
2007-02-16 15:32:21 -08:00
2007-02-16 08:13:58 -08:00
2007-02-13 02:58:52 -05:00
2007-02-09 17:08:57 +00:00
2007-02-15 18:04:01 -05:00
2007-02-12 09:48:44 -08:00
2007-02-08 16:01:09 -08:00
2007-02-08 15:13:47 +00:00
2007-02-17 21:30:15 -05:00
2007-02-20 08:38:45 +00:00
2007-02-13 13:26:26 +01:00
2007-02-11 23:14:44 +01:00
2007-02-12 09:48:29 -08:00
2007-02-11 10:51:24 -08:00
2007-02-16 08:13:59 -08:00
2007-02-16 08:14:00 -08:00
2007-02-12 09:48:46 -08:00
2007-02-11 10:51:35 -08:00
2007-02-11 10:51:24 -08:00
2007-02-11 10:51:27 -08:00
2007-02-12 09:48:40 -08:00
2007-02-10 20:01:47 -05:00
2007-02-12 09:48:44 -08:00
2007-02-07 09:21:02 +11:00
2007-02-16 15:19:17 -08:00
2007-02-19 13:29:02 -08:00
2007-02-09 17:39:36 -05:00
2007-02-09 17:39:36 -05:00
2007-02-11 11:18:07 -08:00
2007-02-12 09:48:46 -08:00
2007-02-09 16:23:18 +00:00
2007-02-12 09:48:46 -08:00
2007-02-17 19:20:16 +01:00
2007-02-12 09:48:46 -08:00
2007-02-12 09:48:44 -08:00
2007-02-12 09:48:47 -08:00
2007-02-11 11:37:45 -08:00
2007-02-11 10:51:18 -08:00
2007-02-12 09:48:30 -08:00
2007-02-16 08:13:59 -08:00
2007-02-05 10:00:38 +01:00
2007-02-07 15:44:36 -08:00
2007-02-16 08:13:59 -08:00
2007-02-13 22:09:01 +01:00
2007-02-13 22:09:00 +01:00
2007-02-17 02:40:26 +01:00
2007-02-08 12:38:46 -08:00
2007-02-12 09:48:32 -08:00
2007-02-12 09:48:37 -08:00
2007-02-19 14:21:50 -08:00
2007-02-11 11:18:07 -08:00
2007-02-09 17:39:36 -05:00
2007-02-19 14:21:50 -08:00
2007-02-16 08:13:56 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:31 -08:00
2007-02-16 14:37:06 +00:00
2007-02-11 10:51:32 -08:00
2007-02-16 15:19:15 -08:00
2007-02-07 10:37:14 -08:00
2007-02-11 10:51:24 -08:00
2007-02-16 08:13:59 -08:00
2007-02-12 09:48:40 -08:00
2007-02-20 08:38:45 +00:00
2007-02-16 13:32:41 -05:00
2007-02-11 10:51:32 -08:00
2007-02-12 09:48:29 -08:00
2007-02-17 19:17:37 +01:00
2007-02-12 09:48:31 -08:00
2007-02-11 10:51:32 -08:00
2007-02-12 09:48:31 -08:00
2007-02-11 10:51:17 -08:00
2007-02-12 09:48:27 -08:00
2007-02-11 10:51:18 -08:00
2007-02-16 15:19:18 -08:00
2007-02-19 13:29:02 -08:00
2007-02-11 10:51:25 -08:00
2007-02-12 09:48:46 -08:00
2007-02-07 15:50:08 -08:00
2007-02-12 09:48:46 -08:00
2007-02-08 13:51:54 -08:00
2007-02-08 12:39:06 -08:00
2007-02-12 11:11:55 -08:00
2007-02-12 09:48:36 -08:00
2007-02-16 08:14:01 -08:00
2007-02-16 08:14:01 -08:00
2007-02-12 22:43:25 -08:00
2007-02-12 22:43:25 -08:00
2007-02-13 13:26:24 +01:00
2007-02-09 08:06:14 -08:00
2007-02-17 15:17:05 -05:00
2007-02-16 15:30:10 -08:00
2007-02-08 15:25:18 -08:00
2007-02-12 09:48:46 -08:00
2007-02-12 09:48:32 -08:00
2007-02-11 10:51:28 -08:00
2007-02-14 08:10:00 -08:00
2007-02-12 09:48:46 -08:00
2007-02-12 09:48:28 -08:00
2007-02-12 09:48:44 -08:00
2007-02-12 09:48:46 -08:00
2007-02-11 11:18:05 -08:00
2007-02-11 10:51:28 -08:00
2007-02-11 11:18:07 -08:00
2007-02-12 09:48:32 -08:00
2007-02-12 09:48:44 -08:00
2007-02-17 19:07:33 +01:00
2007-02-14 08:09:52 -08:00
2007-02-14 08:09:52 -08:00
2007-02-18 01:40:30 -05:00
2007-02-11 10:51:18 -08:00
2007-02-11 10:51:26 -08:00
2007-02-11 11:18:07 -08:00
2007-02-11 10:51:26 -08:00
2007-02-12 09:48:41 -08:00
2007-02-11 10:51:18 -08:00
2007-02-14 08:10:00 -08:00
2007-02-07 14:03:19 +11:00
2007-02-07 10:37:14 -08:00
2007-02-09 16:23:15 +00:00
2007-02-08 12:38:49 -08:00
2007-02-16 08:13:59 -08:00
2007-02-04 20:54:10 +01:00
2007-02-16 08:13:57 -08:00
2007-02-16 08:13:59 -08:00
2007-02-16 08:13:56 -08:00
2007-02-12 09:48:42 -08:00
2007-02-12 09:48:32 -08:00
2007-02-12 09:48:40 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:46 -08:00
2007-02-07 15:44:32 -08:00
2007-02-16 15:32:19 -08:00
2007-02-16 15:32:21 -08:00
2007-02-16 15:32:20 -08:00
2007-02-11 10:51:25 -08:00
2007-02-08 12:38:54 -08:00
2007-02-11 11:18:05 -08:00
2007-02-08 13:11:42 -08:00