commit | b9eb5d7d0b9bf7c6430374333e4b9dae73bbba20 | [log] [tgz] |
---|---|---|
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | Mon Jan 11 16:33:56 2010 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | Wed Feb 24 14:31:26 2010 +0200 |
tree | c8a746cf672ff1c6781b6f4dbcae4dc712920500 | |
parent | 63cf28ac3e3166a02a4e0db6168cf403ed66e3a5 [diff] |
OMAP: DSS2: DSI: change DSI bus_lock to semaphore Physical DSI bus is protected by a mutex. This patch changed the mutex to a semaphore, so that we can lock and unlock the bus_lock from different threads. This is needed as the update process is started by user space program, and thus the lock is acquired in that context, but the lock can be released in different context, a work thread via irq. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>