cw1200: Reference correct 'powerup' GPIO signal.
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
c992219825
commit
7b19bc2ca9
|
@ -193,7 +193,7 @@ static int cw1200_sdio_off(const struct cw1200_platform_data_sdio *pdata)
|
||||||
static int cw1200_sdio_on(const struct cw1200_platform_data_sdio *pdata)
|
static int cw1200_sdio_on(const struct cw1200_platform_data_sdio *pdata)
|
||||||
{
|
{
|
||||||
const struct resource *reset = pdata->reset;
|
const struct resource *reset = pdata->reset;
|
||||||
const struct resource *powerup = pdata->reset;
|
const struct resource *powerup = pdata->powerup;
|
||||||
|
|
||||||
/* Ensure I/Os are pulled low */
|
/* Ensure I/Os are pulled low */
|
||||||
if (reset) {
|
if (reset) {
|
||||||
|
|
|
@ -287,7 +287,7 @@ static int cw1200_spi_off(const struct cw1200_platform_data_spi *pdata)
|
||||||
static int cw1200_spi_on(const struct cw1200_platform_data_spi *pdata)
|
static int cw1200_spi_on(const struct cw1200_platform_data_spi *pdata)
|
||||||
{
|
{
|
||||||
const struct resource *reset = pdata->reset;
|
const struct resource *reset = pdata->reset;
|
||||||
const struct resource *powerup = pdata->reset;
|
const struct resource *powerup = pdata->powerup;
|
||||||
|
|
||||||
/* Ensure I/Os are pulled low */
|
/* Ensure I/Os are pulled low */
|
||||||
if (reset) {
|
if (reset) {
|
||||||
|
|
Loading…
Reference in New Issue