ssb: Fix SPROM writing
authorMichael Buesch <mb@bu3sch.de>
Mon, 23 Nov 2009 19:12:13 +0000 (20:12 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Nov 2009 22:05:41 +0000 (17:05 -0500)
commit3ba6018aa314559c5867138a8173b068268a70db
tree6da72b198ec84c40a52b21545b5be3a4b1bd4c74
parent77593ae28c4c134eaf28ef34ecac3cd4464ecd6e
ssb: Fix SPROM writing

The SPROM writing routines were broken since we rewrote the suspend
handling on wireless devices, because SPROM writing depended on suspend.

This patch changes it and freezes devices with the driver remove(), probe()
callbacks instead. This also simplifies the whole logics a lot.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/main.c
drivers/ssb/sprom.c
drivers/ssb/ssb_private.h