Re: [PATCH v2] rtc: Add NXP PCF8523 support

2012-11-28 Thread Thierry Reding
On Wed, Nov 28, 2012 at 03:31:58PM -0800, Andrew Morton wrote: > On Wed, 28 Nov 2012 20:21:26 +0100 > Thierry Reding wrote: > > > + err = i2c_transfer(client->adapter, &msg, 1); > > + if (err < 0) { > > + /* > > +* If the time cannot be set, restart the RTC anyway. Note

Re: [PATCH v2] rtc: Add NXP PCF8523 support

2012-11-28 Thread Andrew Morton
On Wed, 28 Nov 2012 20:21:26 +0100 Thierry Reding wrote: > + err = i2c_transfer(client->adapter, &msg, 1); > + if (err < 0) { > + /* > + * If the time cannot be set, restart the RTC anyway. Note > + * that errors are ignored if the RTC cannot be start