diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-01-18 11:29:58 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-01-18 22:58:05 +0530 |
commit | bc30c15f275484f9b9fe27c2fa0895f3022d9943 (patch) | |
tree | 33b0c1548a8408380d0e69238f84104e79674591 /drivers/phy/rockchip | |
parent | c63835bf1c750c9b3aec1d5c23d811d6375fc23d (diff) | |
download | lwn-bc30c15f275484f9b9fe27c2fa0895f3022d9943.tar.gz lwn-bc30c15f275484f9b9fe27c2fa0895f3022d9943.zip |
phy: phy-can-transceiver: Skip warning if no "max-bitrate"
According to the DT bindings, the "max-bitrate" property is optional.
However, when it is not present, a warning is printed.
Fix this by adding a missing check for -EINVAL.
Fixes: a4a86d273ff1b6f7 ("phy: phy-can-transceiver: Add support for generic CAN transceiver driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/88e158f97dd52ebaa7126cd9631f34764b9c0795.1674037334.git.geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/rockchip')
0 files changed, 0 insertions, 0 deletions