misc: tegra-profiler: fix return value check
authorIgor Nabirushkin <inabirushkin@nvidia.com>
Sat, 14 Feb 2015 21:08:11 +0000 (01:08 +0400)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 29 May 2015 21:24:43 +0000 (14:24 -0700)
commitd18306d725e35e6431e04745d97c3a61c0d1280d
tree49deda80ac400863cecf8de0474d7a85f9213242
parent73ef5a836aec5c8bee753790e1f6002b7602a342
misc: tegra-profiler: fix return value check

Tegra System Profiler: device is frozen when using clk events.
Fix return value check.

Bug 1611412

Change-Id: Ic9da6f02b222aaf0b3e5e84156103be39a28168b
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/708066
(cherry picked from commit d7f72918dd2c210fd991e61414da3b5f95916f25)
Reviewed-on: http://git-master/r/747748
GVS: Gerrit_Virtual_Submit
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
drivers/misc/tegra-profiler/power_clk.c
drivers/misc/tegra-profiler/version.h