misc: tegra-profiler: fix stopping the session
authorIgor Nabirushkin <inabirushkin@nvidia.com>
Thu, 3 Aug 2017 15:52:21 +0000 (18:52 +0300)
committerIgor Nabirushkin <inabirushkin@nvidia.com>
Tue, 8 Aug 2017 14:23:45 +0000 (17:23 +0300)
commit28c1d2c92f51308f37d86a939630bd6605733caa
tree7edaa5118f5df04219342f902d2430d21bedbe64
parentd4be8b3c71ce204dfc586a00ff25260e6a2cd753
misc: tegra-profiler: fix stopping the session

Do not stop profiling if some clocks are not available.
This commit fixes unexpected stop on some devices.

Bug 1968948

Change-Id: Ieacf481d1884ec717027aff2460be499ddf77ff8
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1532770
(cherry picked from commit abec385924a12beda1c281a1b5aa872729761d05)
drivers/misc/tegra-profiler/power_clk.c