Message ID | 1431005924-21777-8-git-send-email-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show |
On Sat, 09 May 2015, Alexandre Belloni wrote: > On 07/05/2015 at 14:38:39 +0100, Lee Jones wrote : > > Initial submission adding support for this IP only included Watchdog and > > the Real-Time Clock. Now the third (and final) device is enabled this > > trivial patch is required to update the comment in the RTC driver to > > encompass Clocksource. > > > > Signed-off-by: Lee Jones <lee.jones@linaro.org> > Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Thanks. > I'm guessing this will go through the mfd tree along with the driver? Yes, that is the plan, if that's okay with you? > > --- > > drivers/rtc/rtc-st-lpc.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/rtc/rtc-st-lpc.c b/drivers/rtc/rtc-st-lpc.c > > index 3f9d0ac..74c0a33 100644 > > --- a/drivers/rtc/rtc-st-lpc.c > > +++ b/drivers/rtc/rtc-st-lpc.c > > @@ -208,7 +208,7 @@ static int st_rtc_probe(struct platform_device *pdev) > > return -EINVAL; > > } > > > > - /* LPC can either run in RTC or WDT mode */ > > + /* LPC can either run as a Clocksource or in RTC or WDT mode */ > > if (mode != ST_LPC_MODE_RTC) > > return -ENODEV; > > >
On Mon, 11 May 2015, Alexandre Belloni wrote: > On 11/05/2015 at 11:54:33 +0100, Lee Jones wrote : > > On Sat, 09 May 2015, Alexandre Belloni wrote: > > > I'm guessing this will go through the mfd tree along with the driver? > > > > Yes, that is the plan, if that's okay with you? > > Sure! Perfect. Thanks Alexandre.
diff --git a/drivers/rtc/rtc-st-lpc.c b/drivers/rtc/rtc-st-lpc.c index 3f9d0ac..74c0a33 100644 --- a/drivers/rtc/rtc-st-lpc.c +++ b/drivers/rtc/rtc-st-lpc.c @@ -208,7 +208,7 @@ static int st_rtc_probe(struct platform_device *pdev) return -EINVAL; } - /* LPC can either run in RTC or WDT mode */ + /* LPC can either run as a Clocksource or in RTC or WDT mode */ if (mode != ST_LPC_MODE_RTC) return -ENODEV;
Initial submission adding support for this IP only included Watchdog and the Real-Time Clock. Now the third (and final) device is enabled this trivial patch is required to update the comment in the RTC driver to encompass Clocksource. Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/rtc/rtc-st-lpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)