Linux Watchdog driver development
 help / color / mirror / Atom feed
* [PATCH] sp5100_tco: Fix the AcpiMmioSel bitmask value
@ 2013-03-03  5:48 Takahisa Tanaka
  2013-03-03  9:10 ` [PATCH v2] sp5100_tco: Set the AcpiMmioSel bitmask value to 1 instead of 2 Paul Menzel
  0 siblings, 1 reply; 3+ messages in thread
From: Takahisa Tanaka @ 2013-03-03  5:48 UTC (permalink / raw)
  To: linux-watchdog
  Cc: Wim Van Sebroeck, Paul Menzel, Arkadiusz Miskiewicz,
	Bjorn Helgaas, Andrew Morton, Jonathan Nieder, linux-kernel,
	Florian Mickler, Joseph Salisbury, Joseph Salisbury,
	Takahisa Tanaka

The AcpiMmioSel bit is the bit1 in AcpiMmioEn register, but, current
sp5100_tco driver was using bit2.

The sp5100_tco driver expects zero as a value of AcpiMmioSel (bit1).
fortunately, The problem didn't occur by this typo, because the default
value of misused bit2 is zero. However, the sp5100_tco driver should use
the correct bitmask value.

Signed-off-by: Takahisa Tanaka <mc74hc00@gmail.com>
---
 drivers/watchdog/sp5100_tco.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/sp5100_tco.h b/drivers/watchdog/sp5100_tco.h
index 71594a0..2b28c00 100644
--- a/drivers/watchdog/sp5100_tco.h
+++ b/drivers/watchdog/sp5100_tco.h
@@ -57,7 +57,7 @@
 #define SB800_PM_WATCHDOG_DISABLE	(1 << 2)
 #define SB800_PM_WATCHDOG_SECOND_RES	(3 << 0)
 #define SB800_ACPI_MMIO_DECODE_EN	(1 << 0)
-#define SB800_ACPI_MMIO_SEL		(1 << 2)
+#define SB800_ACPI_MMIO_SEL		(1 << 1)
 
 
 #define SB800_PM_WDT_MMIO_OFFSET	0xB00
-- 
1.8.1.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-07 12:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-03  5:48 [PATCH] sp5100_tco: Fix the AcpiMmioSel bitmask value Takahisa Tanaka
2013-03-03  9:10 ` [PATCH v2] sp5100_tco: Set the AcpiMmioSel bitmask value to 1 instead of 2 Paul Menzel
2013-03-07 12:17   ` Tanaka Takahisa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox