aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorArvind Yadav <[email protected]>2018-04-27 07:44:01 -0400
committerMauro Carvalho Chehab <[email protected]>2018-05-09 16:20:16 -0400
commit0bade8b54395200b6a08e143e2bdc5b992f883e7 (patch)
treea9928b17692057824370be349130a2f0e2dbf624 /tools/perf/scripts/python/bin/stackcollapse-report
parent03b765237b0f728c2586b557fbfaed86bff7bf07 (diff)
media: sta2x11: Use gpio_is_valid() and remove unnecessary check
Replace the manual validity checks for the GPIO with the gpio_is_valid(). In vip_gpio_reserve(), Error checking for gpio pin is not correct. If pwr_pin = -1, It will return 0. This should be return an error. In sta2x11_vip_init_one(), Error checking for gpio 'reset_pin' is unnecessary. Because vip_gpio_reserve() is also checking for valid gpio pin. So removed extra error checking for gpio 'reset_pin'. Signed-off-by: Arvind Yadav <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions