All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: "Émeric Vigier"
	<emeric.vigier-4ysUXcep3aM1wj+D4I0NRVaTQe2KTcn/@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: how to gracefully unload an i2c driver if chip not detected?
Date: Tue, 9 Apr 2013 11:26:25 +0200	[thread overview]
Message-ID: <20130409092625.GD3624@the-dreams.de> (raw)
In-Reply-To: <35709576.270615.1363618046395.JavaMail.root@mail>


> I recently changed the sensor on my board. Leading to kernel crash
> when entering suspend. Thanks to "no_console_suspend" cmdline
> argument, I found out that the suspend function of the "absent" chip
> gets called. It tries to take a mutex which has been freed in probe's
> "device not found" fallback code. Leading to kernel panic.

Can we have the full driver? The snipplet is not enough.

  reply	other threads:[~2013-04-09  9:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <931575758.126890.1363615027376.JavaMail.root@mail>
2013-03-18 14:47 ` how to gracefully unload an i2c driver if chip not detected? Émeric Vigier
2013-04-09  9:26   ` Wolfram Sang [this message]
     [not found]     ` <20130409092625.GD3624-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2013-04-21  3:38       ` Émeric Vigier
2013-04-21 15:48         ` Wolfram Sang
     [not found]           ` <20130421154832.GA9593-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2013-04-22 11:18             ` Émeric Vigier

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=20130409092625.GD3624@the-dreams.de \
    --to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
    --cc=emeric.vigier-4ysUXcep3aM1wj+D4I0NRVaTQe2KTcn/@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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.