summaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-04-03 12:26:06 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-04-03 13:06:25 -0700
commitc3cd64df0ace7c4f458e357794a1f227376cc8eb (patch)
tree5085b3423bdf7b7927caa4d7852ed9ebd1a234ed /tools/perf/util/trace-event-scripting.c
parent664cdd33f956accabebd29edba6c220b1580744d (diff)
leds: qpnp-flash-v2: Fix some issues
An out of bounds access is attempted to calculate code for iclamp_low_ma and iclamp_mid_ma for LED3. Use the right index in flash_node pointer to fix it. When an error is found during probe especially before registering a flash LED class device, unregistering flash LED class devices is made on a flash LED class device that is not registered yet. Fix it. Change-Id: I2f6650eb24ecbece473abfe18a9a2e26c62c1253 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions