10 Mar, 2011
1 commit
-
Now that the generic code handles UIE mode irqs via periodic
alarm interrupts, no one calls the
rtc_class_ops->update_irq_enable() method anymore.This patch removes the driver hooks and implementations of
update_irq_enable if no one else is calling it.CC: Thomas Gleixner
CC: Alessandro Zummo
CC: Marcelo Roberto Jimenez
CC: rtc-linux@googlegroups.com
Signed-off-by: John Stultz
08 Mar, 2010
2 commits
-
Unlike the wm8350-custom code genirq nests enable and disable calls
so we can't just unconditionally mask or unmask the interrupt,
we need to remember the state we set and only mask or unmask when
there is a real change.Signed-off-by: Mark Brown
Acked-by: Alessandro Zummo
Cc: rtc-linux@googlegroups.com
Signed-off-by: Samuel Ortiz -
To better match genirq.
Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz
16 Dec, 2009
1 commit
-
Convert WM8350 RTC driver to dev_pm_ops
Signed-off-by: Mark Brown
Signed-off-by: Alessandro Zummo
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
14 Dec, 2009
2 commits
-
Bring the WM8350 IRQ API more in line with the generic IRQ API by
masking and unmasking interrupts as they are requested and freed.
This is mostly just a case of deleting the mask and unmask calls
from the individual drivers.The RTC driver is changed to mask the periodic IRQ after requesting
it rather than only unmasking the alarm IRQ. If the periodic IRQ
fires in the period where it is reqested then there will be a
spurious notification but there should be no serious consequences
from this.The CODEC drive is changed to explicitly disable headphone jack
detection prior to requesting the IRQs. This will avoid the IRQ
firing with no jack set up.Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz -
This is done as simple code transformation, the semantics of the
IRQ API provided by the core are are still very different to those
of genirq (mainly with regard to masking).Signed-off-by: Mark Brown
Signed-off-by: Samuel Ortiz
01 Apr, 2009
2 commits
-
With a postfix decrement retries will reach -1 rather than 0, so the
warning and error-out will not occur.Signed-off-by: Roel Kluin
Acked-by: Mark Brown
Cc: Alessandro Zummo
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
These are the only two ioctls so the ioctl() function is also removed.
Signed-off-by: Mark Brown
Cc: Acked-by: Alessandro Zummo
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
13 Nov, 2008
1 commit
-
This adds support for the RTC provided by the Wolfson Microelectronics
WM8350.This driver was originally written by Graeme Gregory and Liam Girdwood,
though it has been modified since then to update it to current mainline
coding standards and for API completeness.[akpm@linux-foundation.org: s/schedule_timeout_interruptible/schedule_timeout_uninterruptible/ to prevent bogus timeout when signal_pending()]
Signed-off-by: Mark Brown
Cc: Alessandro Zummo
Cc: David Brownell
Cc: Liam Girdwood
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds