wimax/i2400m: Implement pre/post reset support in the USB driver
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Thu, 17 Sep 2009 22:20:45 +0000 (15:20 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:56:10 +0000 (15:56 +0900)
commit3725d8c97436aeaa03eeb0c25361a7ec0f3f5bd2
treec773759b4757473172ff6ba3ec26c134f5fc3d42
parent2869da8587604e3fea5f85aeade486a08e8313bf
wimax/i2400m: Implement pre/post reset support in the USB driver

The USB stack can callback a driver is about to be reset by an
external entity and right after it, so the driver can save state and
then restore it.

This commit implements said support; it is implemented actually in the
core, bus-generic driver [i2400m_{pre,post}_reset()] and used by the
bus-specific drivers. This way the SDIO driver can also use it once
said support is brought to the SDIO stack.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/driver.c
drivers/net/wimax/i2400m/i2400m.h
drivers/net/wimax/i2400m/usb.c