All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben.dooks@codethink.co.uk>
To: Linux MMC List <linux-mmc@vger.kernel.org>
Cc: "Markku Ahvenjärvi" <markku.ahvenjarvi@nomovok.com>
Subject: 3.18 SDIO driver re-attach issue
Date: Wed, 10 Jun 2015 17:30:13 +0100	[thread overview]
Message-ID: <55786615.7020701@codethink.co.uk> (raw)

We are having an issue with 3.18 on an OMAP3517 and a TI WL1271
Wifi SDIO card attached to an hsmmc port. The module is powered
from the main 3.3/1.8V supply rails so cannot be powered down.

The wifi driver is built as a module, and when the module is
unloaded and then reloaded the driver attach fails. The issue
is sdio_bus_probe() calls the sdio_set_block_size(, func, 0)
which fails with -110 (ETIMEDOUT) on the second load.

Is it possible we need to either ignore the error, or try and
re-set the function when either the driver un-binds / if the
first sdio_set_block_size(, func, 0) call happens?

Currently we ignore the error and the wifi driver seems to be
working with the device. If there is a better fix then we would
like to know so it can be fixed properly up-stream.

-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

             reply	other threads:[~2015-06-10 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-10 16:30 Ben Dooks [this message]
2015-06-17 11:51 ` 3.18 SDIO driver re-attach issue Ulf Hansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55786615.7020701@codethink.co.uk \
    --to=ben.dooks@codethink.co.uk \
    --cc=linux-mmc@vger.kernel.org \
    --cc=markku.ahvenjarvi@nomovok.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.