bcma: invalidate the mapped core over suspend/resume
authorRafał Miłecki <zajec5@gmail.com>
Fri, 13 Jan 2012 22:58:38 +0000 (23:58 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 00:13:50 +0000 (16:13 -0800)
commitc893fe01b35036f062a9c7d7f6b7fc926fc91115
treefa9b11b5157e3f8c36bae0b013d4dda3cab64052
parent8967b2b814f94a752b65e672e79c065887fe005f
bcma: invalidate the mapped core over suspend/resume

commit 28e7d218da975f6ae1751e293aed938952c55c98 upstream.

This clears the currently mapped core when suspending, to force
re-mapping after resume. Without that we were touching default core
registers believing some other core is mapped. Such a behaviour
resulted in lockups on some machines.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/bcma/host_pci.c