]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
DS1WM: decouple host IRQ and INTR active state settings
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 7 Feb 2008 08:13:22 +0000 (00:13 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:06 +0000 (08:42 -0800)
commit4aa323bd839604dd83aec56ed3a88df352c3339d
treef9c349b851ddd473837382e87d3f10f22cda4a06
parenteccba068915feece2868c502787037e244db3376
DS1WM: decouple host IRQ and INTR active state settings

The DS1WM driver incorrectly infers the IAS bit (1-wire interrupt active
high) from IRQ settings.  There are devices that have IAS=0 but still need
the IRQ to trigger on a rising edge.  With this patch, machines with DS1WM
that need IAS=1 have to set .active_high=1 in the ds1wm_platform_data.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Acked-by: Matt Reimer <mreimer@vpop.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/w1/masters/ds1wm.c
include/linux/ds1wm.h