summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2019-04-17 10:28:19 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-05-03 08:13:47 +0200
commit60722c4eefbc9acddaf5e641f6dfb24bce930f9a (patch)
tree10bc200574466cd0a1f970ca6963b21e63847530 /security
parentusb: dwc2: gadget: Reject LPM token during Control transfers (diff)
downloadlinux-60722c4eefbc9acddaf5e641f6dfb24bce930f9a.tar.xz
linux-60722c4eefbc9acddaf5e641f6dfb24bce930f9a.zip
usb: dwc2: get optional clock by devm_clk_get_optional()
When the driver tries to get optional clock, it ignores all errors, but if only ignores -ENOENT, it will cover some real errors, such as -EPROBE_DEFER, so use devm_clk_get_optional() to get optional clock. Cc: Minas Harutyunyan <hminas@synopsys.com> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Acked-by: Minas Harutyunyan <hminas@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions