diff options
| author | Tianjia Zhang <[email protected]> | 2020-08-02 11:15:41 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2020-08-24 11:01:38 +0000 |
| commit | 400d033f5a599120089b5f0c54d14d198499af5a (patch) | |
| tree | 105b0656534492c210c711f96b5845640e595cbc /drivers/usb/cdns3/cdns3-imx.c | |
| parent | time: Delete repeated words in comments (diff) | |
| download | kernel-400d033f5a599120089b5f0c54d14d198499af5a.tar.gz kernel-400d033f5a599120089b5f0c54d14d198499af5a.zip | |
clocksource/drivers/h8300_timer8: Fix wrong return value in h8300_8timer_init()
In the init function, if the call to of_iomap() fails, the return
value is ENXIO instead of -ENXIO.
Change to the right negative errno.
Fixes: 691f8f878290f ("clocksource/drivers/h8300_timer8: Convert init function to return error")
Cc: Daniel Lezcano <[email protected]>
Signed-off-by: Tianjia Zhang <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
