diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2019-04-17 16:28:20 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-19 14:24:26 +0200 |
commit | fcafadf71a252009f1d0663b8fcf4bd57f4f2c66 (patch) | |
tree | 16aa2e7deeafa43e6784d19363138f832247e598 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e894cdc2cb468c49242f8ab39236de475604f0c1 (diff) |
usb: chipidea: msm: get optional clock by devm_clk_get_optional()
When the driver tries to get optional clock, it ignores all errors except
-EPROBE_DEFER, but if only ignores -ENOENT, it will cover some real errors,
such as -ENOMEM, so use devm_clk_get_optional() to get optional clock.
Cc: Peter Chen <Peter.Chen@nxp.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Peter Chen <Peter.Chen@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions