The patch titled ds1wm: disable interrupts when turning off ds1wm has been added to the -mm tree. Its filename is driver-for-the-maxim-ds1wm-a-1-wire-bus-master-asic-core-ds1wm-disable-interrupts-when-turning-off-ds1wm.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ds1wm: disable interrupts when turning off ds1wm From: Matt Reimer <mreimer@xxxxxxxx> Disable interrupts when turning off ds1wm. Signed-off-by: Matt Reimer <mreimer@xxxxxxxx> Cc: Evgeniy Polyakov <johnpol@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/w1/masters/ds1wm.c | 4 ++++ 1 file changed, 4 insertions(+) diff -puN drivers/w1/masters/ds1wm.c~driver-for-the-maxim-ds1wm-a-1-wire-bus-master-asic-core-ds1wm-disable-interrupts-when-turning-off-ds1wm drivers/w1/masters/ds1wm.c --- a/drivers/w1/masters/ds1wm.c~driver-for-the-maxim-ds1wm-a-1-wire-bus-master-asic-core-ds1wm-disable-interrupts-when-turning-off-ds1wm +++ a/drivers/w1/masters/ds1wm.c @@ -237,6 +237,10 @@ static void ds1wm_down(struct ds1wm_data { ds1wm_reset(ds1wm_data); + /* Disable interrupts. */ + ds1wm_write_register(ds1wm_data, DS1WM_INT_EN, + ds1wm_data->active_high ? DS1WM_INTEN_IAS : 0); + if (ds1wm_data->pdata->disable) ds1wm_data->pdata->disable(ds1wm_data->pdev); _ Patches currently in -mm which might be from mreimer@xxxxxxxx are w1-allow-bus-master-to-have-reset-and-byte-ops.patch driver-for-the-maxim-ds1wm-a-1-wire-bus-master-asic-core.patch driver-for-the-maxim-ds1wm-a-1-wire-bus-master-asic-core-fix.patch driver-for-the-maxim-ds1wm-a-1-wire-bus-master-asic-core-ds1wm-simplify-platform_data.patch driver-for-the-maxim-ds1wm-a-1-wire-bus-master-asic-core-ds1wm-disable-interrupts-when-turning-off-ds1wm.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html