diff options
Diffstat (limited to 'drivers/rtc')
| -rw-r--r-- | drivers/rtc/rtc-optee.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-optee.c b/drivers/rtc/rtc-optee.c index 27db403e30476a..7b44d7723cae41 100644 --- a/drivers/rtc/rtc-optee.c +++ b/drivers/rtc/rtc-optee.c @@ -614,6 +614,7 @@ static int optee_rtc_probe(struct device *dev) priv, "rtc_alarm_evt"); if (IS_ERR(priv->alarm_task)) { dev_err(dev, "Failed to create alarm thread\n"); + err = PTR_ERR(priv->alarm_task); goto out_shm; } |
