aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-12-19 14:32:06 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-12-28 14:20:18 +0200
commitcd535346d4363dedaf1b4c7ba071768287817ccb (patch)
tree33bb4704ffb5c17c532721ea6519c087622593c6 /tools/perf/scripts/python/bin
parentpinctrl: intel: Add default case to intel_config_set_pull() (diff)
downloadlinux-cd535346d4363dedaf1b4c7ba071768287817ccb.tar.gz
linux-cd535346d4363dedaf1b4c7ba071768287817ccb.zip
pinctrl: intel: Deduplicate some code in intel_config_set_pull()
First part is to assign default argument for all cases, since bias disablement doesn't use it anyway. Second part is to clear all bits in the bias setting and depending on the argument and parameter set them as asked. While at it, add break statement to the default cases. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions