media: rc: Add PM QoS support in gpio ir receiver
PM QoS interface provides a kernel interface for registering performance
expectations by drivers on parameters like latency, timeout and
throughput. Here we prevent PM from keeping the CPU in idle power
collapse mode by voting for PM QoS to minimum IR interrupt latency when
first interrupt is received and devoting it back to default value after
a time delay of 200ms from completion of last interrupt of a IR frame.
CRs-Fixed: 407531
Change-Id: Ib6bf8f3188dfaf03c408601aa3e560fc186492ae
Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org>
2 files changed