misc: cec: add wait_event for CEC ops
authorShridhar Rasal <srasal@nvidia.com>
Tue, 14 May 2013 09:30:33 +0000 (14:30 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Wed, 26 Jun 2013 02:01:46 +0000 (19:01 -0700)
commit6e94e976c1e2121d81d19018b79a97d353b11d70
tree3d919e85f1ad70603222c6576ca984c333954e7d
parent596245cee4b2c239843c2f920d83c21721af2ffb
misc: cec: add wait_event for CEC ops

Add wait_event to make sure that CEC functions
do not execute until CEC init completes.

Bug 1283088

Change-Id: I1d26360326338f549a14cbf109a24c2935ebe472
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/232566
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/misc/tegra-cec/tegra_cec.c
drivers/misc/tegra-cec/tegra_cec.h