Skip to content
Commit 2d822f2d authored by Kangjie Lu's avatar Kangjie Lu Committed by David S. Miller
Browse files

net: (cpts) fix a missing check of clk_prepare



clk_prepare() could fail, so let's check its status, and if it fails,
return its error code upstream.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 26fd962b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment