aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorChunfeng Yun <[email protected]>2019-04-17 16:28:19 +0800
committerGreg Kroah-Hartman <[email protected]>2019-04-19 14:24:26 +0200
commite894cdc2cb468c49242f8ab39236de475604f0c1 (patch)
treea4067710fa02de8c973342779c36e92bc9913f69 /drivers/usb/cdns3/cdns3-ti.c
parentbbe2028f43c88e58a879eaa8627a871704b01252 (diff)
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 <[email protected]> Signed-off-by: Chunfeng Yun <[email protected]> Acked-by: Minas Harutyunyan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions