Ankush Mitra 5c1e2b8431 video: driver: fix residency print implementation
Residency print is not working for 2 cases-
1. when the prev session stopped in the middle without
   setting clk->prev freq to 0, in next session
   the residency stats
   for the same clk freq will not come as the start time will be
   reset to 0 during next session open.
2. when last session close and clk rate not changed to 0
   but, before that print residency stats come,
   then in residency print the residency for
   the last clk freq will not come.

Change-Id: I63a59202ca145e83e0bc129105df0b0182d3cb1e
Signed-off-by: Ankush Mitra <quic_ankumitr@quicinc.com>
2023-07-04 00:38:57 +05:30
2021-02-23 11:57:18 -08:00
Description
No description provided
226 MiB
Languages
C 98.7%
C++ 0.9%
Makefile 0.3%
Starlark 0.1%