From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: [PATCH 5/5] bcma: invalidate the mapped window over suspend/resume Date: Fri, 13 Jan 2012 00:02:53 -0800 (PST) Message-ID: References: <1326440480-26271-1-git-send-email-zajec5@gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: =?ISO-8859-2?Q?Rafa=B3_Mi=B3ecki?= , Arend van Spriel , Larry Finger , Alwin Beukers , Roland Vossen , "John W. Linville" , Network Development , "Franky (Zhenhui) Lin" To: Linus Torvalds Return-path: Received: from mail-iy0-f174.google.com ([209.85.210.174]:34834 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751049Ab2AMICS (ORCPT ); Fri, 13 Jan 2012 03:02:18 -0500 Received: by iabz25 with SMTP id z25so3987027iab.19 for ; Fri, 13 Jan 2012 00:02:17 -0800 (PST) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: =46rom: Rafa=B3 Mi=B3ecki 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 --- 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 =3D NULL; return 0; } =20 --=20 1.7.8.rc2.3.g0911