[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1201130002080.5860@air.linux-foundation.org>
Date: Fri, 13 Jan 2012 00:02:53 -0800 (PST)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
cc: Rafał Miłecki <zajec5@...il.com>,
Arend van Spriel <arend@...adcom.com>,
Larry Finger <Larry.Finger@...inger.net>,
Alwin Beukers <alwin@...adcom.com>,
Roland Vossen <rvossen@...adcom.com>,
"John W. Linville" <linville@...driver.com>,
Network Development <netdev@...r.kernel.org>,
"Franky (Zhenhui) Lin" <frankyl@...adcom.com>
Subject: [PATCH 5/5] bcma: invalidate the mapped window over suspend/resume
From: Rafał Miłecki <zajec5@...il.com>
Date: Thu, 12 Jan 2012 23:51:30 -0800
This clears the current mapped window when suspending, so that the
resumed state will re-map them as required.
Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>
---
drivers/bcma/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c
index febbc0a1222a..d185039690bc 100644
--- a/drivers/bcma/main.c
+++ b/drivers/bcma/main.c
@@ -253,6 +253,8 @@ int bcma_bus_suspend(struct bcma_bus *bus)
adrv->suspend(core);
}
}
+
+ bus->mapped_core = NULL;
return 0;
}
--
1.7.8.rc2.3.g0911
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists