/* Tear down minimal device communication infrastructure needed to at least be able to update the firmware.  */
static void i2400ms_bus_release(struct i2400m *i2400m)
/* Tear down minimal device communication infrastructure needed to at least be able to update the firmware.  */
static void i2400ms_bus_release(struct i2400m *i2400m)
{
	struct i2400ms *i2400ms =
		container_of(i2400m, struct i2400ms, i2400m);
	struct sdio_func *func = i2400ms->func;
	i2400ms_rx_release(i2400ms);
	i2400ms_tx_release(i2400ms);
	sdio_claim_host(func);
	sdio_disable_func(func);
	sdio_release_host(func);
}