MLK-17730 rtc: rtc-imx-sc: only print once for read time error
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 8 Mar 2018 03:23:17 +0000 (11:23 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:56:21 +0000 (14:56 -0500)
commit9f4f90c6856ca33f4797aca301c96c5174caa6c6
tree83fcc9d65ccbd7903bfaed257b2e846516a9dd38
parentcba86a09352bd849dfc8c4624cc378efd2415243
MLK-17730 rtc: rtc-imx-sc: only print once for read time error

As RTC read time will be called periodically, to avoid
too many error messages when RTC is NOT ready in SCFW,
change the error print to only print once.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Bai Ping <ping.bai@nxp.com>
drivers/rtc/rtc-imx-sc.c