aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Tretter <[email protected]>2017-08-17 12:43:07 +0200
committerEmil Velikov <[email protected]>2020-05-17 17:27:57 +0100
commitc704b17071c4dc571dca3af4e4151dac51de081a (patch)
treec016ab65c72baa0ff73c731f19a05a691d370fba /tools/perf/scripts/python
parentec0bb482de0ad5e4aba2a4537ea53eaeb77d11a6 (diff)
drm/debugfs: fix plain echo to connector "force" attribute
Using plain echo to set the "force" connector attribute fails with -EINVAL, because echo appends a newline to the output. Replace strcmp with sysfs_streq to also accept strings that end with a newline. v2: use sysfs_streq instead of stripping trailing whitespace Signed-off-by: Michael Tretter <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions