mbox

[GIT,PULL] one kernel panic fix for v3.3-rc7

Message ID 20120313183352.GN12083@atomide.com
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap fix-smsc911x-regulator

Message

Tony Lindgren March 13, 2012, 6:33 p.m. UTC
Hi Olof,

Here's one more kernel panic fix that I dropped from last weeks
fixes as it was still being discussed.

This is a fix for the regression caused by fixing an earlier
regression for smsc911x fixed regulators :(

Turns out that we have more than one smsc911x on some boards,
and the earlier fix causes a kernel panic for board trying to
register second smsc911x instance, even if the second smsc911x
is on an add-on board that is not connected.

Note that the boards with second smsc911x will also need to be
patched later on to provide their own regulators.

Regards,

Tony


The following changes since commit fde7d9049e55ab85a390be7f415d74c9f62dd0f9:
  Linus Torvalds (1):
        Linux 3.3-rc7

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap fix-smsc911x-regulator

Kevin Hilman (1):
      ARM: OMAP2+: gpmc-smsc911x: only register regulator for first instance

 arch/arm/mach-omap2/gpmc-smsc911x.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

Comments

Olof Johansson March 13, 2012, 10:49 p.m. UTC | #1
On Tue, Mar 13, 2012 at 11:33 AM, Tony Lindgren <tony@atomide.com> wrote:
> Hi Olof,
>
> Here's one more kernel panic fix that I dropped from last weeks
> fixes as it was still being discussed.
>
> This is a fix for the regression caused by fixing an earlier
> regression for smsc911x fixed regulators :(
>
> Turns out that we have more than one smsc911x on some boards,
> and the earlier fix causes a kernel panic for board trying to
> register second smsc911x instance, even if the second smsc911x
> is on an add-on board that is not connected.
>
> Note that the boards with second smsc911x will also need to be
> patched later on to provide their own regulators.
>
> Regards,
>
> Tony
>
>
> The following changes since commit fde7d9049e55ab85a390be7f415d74c9f62dd0f9:
>  Linus Torvalds (1):
>        Linux 3.3-rc7
>
> are available in the git repository at:
>
>  git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap fix-smsc911x-regulator
>
> Kevin Hilman (1):
>      ARM: OMAP2+: gpmc-smsc911x: only register regulator for first instance

Thanks, pulled.


-Olof