Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1537992

Re: [PATCH 3/8] rtc: add STM32 RTC driver

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/8] rtc: add STM32 RTC driver
Date 2016-12-07 19:40 +0100
Message-ID <sLPii-3H9-25@gated-at.bofh.it> (permalink)
References <sJWQW-4Wx-3@gated-at.bofh.it> <sJWQW-4Wx-43@gated-at.bofh.it> <sK0hQ-6VB-17@gated-at.bofh.it> <sKY4h-2Pg-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/12/2016 at 10:43:14 +0100, Amelie DELAUNAY wrote :
> >> +
> >> +    device_init_wakeup(&pdev->dev, true);
> >
> > What happens if device_init_wakeup() returns an error?
> It means that RTC won't be able to wake up the board with RTC alarm. I can
> add a warning for the user in this case ?
> >

There is exactly one driver ever checking the return value of
device_init_wakeup(). It basically always succeeds.


-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] Add support for STM32 RTC Amelie Delaunay <amelie.delaunay@st.com> - 2016-12-02 15:20 +0100
  [PATCH 1/8] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429 Amelie Delaunay <amelie.delaunay@st.com> - 2016-12-02 15:20 +0100
  [PATCH 3/8] rtc: add STM32 RTC driver Amelie Delaunay <amelie.delaunay@st.com> - 2016-12-02 15:20 +0100
    Re: [PATCH 3/8] rtc: add STM32 RTC driver Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-12-02 19:00 +0100
      Re: [PATCH 3/8] rtc: add STM32 RTC driver Amelie DELAUNAY <amelie.delaunay@st.com> - 2016-12-05 10:50 +0100
        Re: [PATCH 3/8] rtc: add STM32 RTC driver Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-12-05 17:40 +0100
          Re: [PATCH 3/8] rtc: add STM32 RTC driver Amelie DELAUNAY <amelie.delaunay@st.com> - 2016-12-07 11:20 +0100
        Re: [PATCH 3/8] rtc: add STM32 RTC driver Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-12-07 19:40 +0100
    Re: [PATCH 3/8] rtc: add STM32 RTC driver Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-12-02 19:10 +0100
      Re: [PATCH 3/8] rtc: add STM32 RTC driver Amelie DELAUNAY <amelie.delaunay@st.com> - 2016-12-05 11:00 +0100
    Re: [PATCH 3/8] rtc: add STM32 RTC driver Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-12-07 20:10 +0100
  [PATCH 4/8] ARM: dts: stm32: Add STM32 RTC support for STM32F429 MCU Amelie Delaunay <amelie.delaunay@st.com> - 2016-12-02 15:20 +0100

csiph-web