aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDouglas Anderson <[email protected]>2021-04-16 15:39:25 -0700
committerDouglas Anderson <[email protected]>2021-04-20 08:57:20 -0700
commitacf3aca5ca990f63c1e29379fd1362b98883b66b (patch)
tree7d5c8b0f6823cf2736ec1520bed4f9f3da163d25 /tools/perf/scripts/python
parentbab5cca7e609952b069a550e39fe4893149fb658 (diff)
drm/bridge: ti-sn65dsi86: Simplify refclk handling
The clock framework makes it simple to deal with an optional clock. You can call clk_get_optional() and if the clock isn't specified it'll just return NULL without complaint. It's valid to pass NULL to enable/disable/prepare/unprepare. Let's make use of this to simplify things a tiny bit. Signed-off-by: Douglas Anderson <[email protected]> Reviewed-by: Robert Foss <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Andrzej Hajda <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20210416153909.v4.2.Ic9c04f960190faad5290738b2a35d73661862735@changeid
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions