diff options
| author | Vaibhav Hiremath <[email protected]> | 2016-06-15 10:23:23 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-06-15 23:57:20 -0700 |
| commit | 880bc0a4afa66e36f62e5687bef464a751781d55 (patch) | |
| tree | 9313db967ffe9bed75ad34f6ced95bf1b55989fe /tools/perf/scripts/python | |
| parent | 9120b9060bca4528d13de5c4e6522e6a78110704 (diff) | |
greybus: svc: Pass the correct pointer to input_free_device()
In gb_svc_input_create() fn, on failure, wrong pointer
was being passed to input_free_device(). Correct it.
svc->input gets initialized only on successful return of this fn,
so it is absolutely wrong to pass svc->input to input_free_device().
Testing Done: Tested on EVT2.0 platform.
Signed-off-by: Vaibhav Hiremath <[email protected]>
Reviewed-by: Viresh Kumar <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions