drivers: rtc: hym8563: fix hym8563 init failed
Return -EPROBE_DEFER when init hym8563 failed. Signed-off-by: Ken Wang <ken@radxa.com>
This commit is contained in:
parent
3bd60951d7
commit
2d0e9182a6
1 changed files with 1 additions and 1 deletions
|
|
@ -570,7 +570,7 @@ static int hym8563_probe(struct i2c_client *client)
|
|||
ret = hym8563_init_device(client);
|
||||
if (ret) {
|
||||
dev_err(&client->dev, "could not init device, %d\n", ret);
|
||||
return ret;
|
||||
return -EPROBE_DEFER;
|
||||
}
|
||||
|
||||
if (client->irq > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue