led: handle rgb play requests in the list 33/103933/4
authortaeyoung <ty317.kim@samsung.com>
Sun, 11 Dec 2016 10:33:28 +0000 (19:33 +0900)
committertaeyoung <ty317.kim@samsung.com>
Sun, 11 Dec 2016 11:59:22 +0000 (20:59 +0900)
commitcb9498e010424d11c61341d138ea062a27e2bab9
treee3c95124504590d403b7b968cfff2a9dfb79371b
parent7e806f82a1fa5ad18302ec72fbbd1393bdf004e0
led: handle rgb play requests in the list

- rgb play requests are handled by the request list.
  Thus deviced can know if a play stop request is
  valid or not.
- Timer is added to check invalid requests
  in the request list. If the process which requests
  to play rgb does not exist anymore, the request
  from the process is removed.

Change-Id: I34ed6d9dfdab95e5fcbe18c0fb89a96ed6ce92b1
Signed-off-by: taeyoung <ty317.kim@samsung.com>
src/led/rgb.c