diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2019-04-17 16:28:17 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-19 14:24:25 +0200 |
commit | 08048c04cc6f7502d60d21d7596b53bbf1157d95 (patch) | |
tree | 06b7841b06da46837c218ef1d6efbcb98e86df58 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9d918dcea0689eb9dd7154dcea976232c7d8d6e6 (diff) |
usb: host: xhci-plat: 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: Mathias Nyman <mathias.nyman@intel.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.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