aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2016-05-17 14:27:25 +0200
committerThierry Reding <[email protected]>2016-05-17 14:41:18 +0200
commitfbd45a12988e75a48d392feb8b0e5feb5d612513 (patch)
tree67d84a279f38b1582fb0345a9d81cd474cfa7965 /tools/perf/scripts/python/export-to-postgresql.py
parente39c0df1be5a97e0910b09af1530bdf3de057a06 (diff)
pwm: Fix pwm_apply_args() call sites
pwm_apply_args() is supposed to initialize a PWM device according to the arguments provided by the DT or the PWM lookup, but this function was called inside pwm_device_request(), which in turn was called before the core had a chance to initialize the pwm->args fields. Fix that by calling pwm_apply_args directly in pwm_get() and of_pwm_get() after initializing pwm->args field. This commit also fixes an invalid pointer dereference introduced by commit e39c0df1be5a ("pwm: Introduce the pwm_args concept"). Signed-off-by: Boris Brezillon <[email protected]> Fixes: e39c0df1be5a ("pwm: Introduce the pwm_args concept") Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions