linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@the-dreams.de>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Jiri Kosina <jikos@kernel.org>,
	Benjamin Tissoires <benjamin.tissoires@redhat.com>,
	linux-input@vger.kernel.org, linux-i2c@vger.kernel.org
Subject: Re: [PATCH 1/2] i2c: core: Allow the driver to override the default i2c_bus match behavior
Date: Mon, 14 Aug 2017 23:21:15 +0200	[thread overview]
Message-ID: <20170814212115.GA5142@katana> (raw)
In-Reply-To: <de6bf483-9ef4-522b-507d-272f736bcabc@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]

On Mon, Aug 14, 2017 at 10:13:23PM +0200, Hans de Goede wrote:
> Hi,
> 
> On 22-07-17 20:55, Hans de Goede wrote:
> >Some ACPI devices report multiple ids for a single i2c_client, while not
> >really implementing the hw-interface asociated with some of these ids.
> >
> >For some of these devices calling probe and having probe fail with
> >-ENODEV is a problem in itself as this causes the device to be
> >powered-up and down again (causes its PS0 and PS3 ACPI methods to be
> >executed) which puts some devices in an unusable state.
> >
> >This commit adds a match callback to i2c_driver, allowing drivers to
> >override the default i2c_bus match behavior and tell the core they
> >are not the right driver for the device, avoiding i2c_bus_type.probe
> >getting called, avoiding the undesirable power up / down cycle.
> >
> >Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> 
> What is the status of this series ? I thought there was agreement
> on merging this through the i2c (wsa/linux.git) tree ?

Yes, but I need to review the I2C core changes first.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2017-08-14 21:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-22 18:55 [PATCH 1/2] i2c: core: Allow the driver to override the default i2c_bus match behavior Hans de Goede
2017-07-22 18:55 ` [PATCH 2/2] HID: i2c-hid: Do not bind to CHPN0001 touchscreen Hans de Goede
2017-07-24  8:19   ` Benjamin Tissoires
2017-07-25 12:58     ` Jiri Kosina
2017-07-25 13:46       ` Wolfram Sang
2017-07-25 13:58         ` Jiri Kosina
2017-08-17 19:39   ` Wolfram Sang
2017-08-17 22:15     ` Dmitry Torokhov
2017-08-28 13:04       ` Hans de Goede
2017-08-28 16:31         ` Dmitry Torokhov
2017-08-28 16:46           ` Hans de Goede
2017-08-28 12:44     ` Hans de Goede
2017-08-28 12:50     ` Hans de Goede
2017-08-29  8:37       ` Hans de Goede
2017-08-29  8:51         ` Wolfram Sang
2017-08-14 20:13 ` [PATCH 1/2] i2c: core: Allow the driver to override the default i2c_bus match behavior Hans de Goede
2017-08-14 21:21   ` Wolfram Sang [this message]

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=20170814212115.GA5142@katana \
    --to=wsa@the-dreams.de \
    --cc=benjamin.tissoires@redhat.com \
    --cc=hdegoede@redhat.com \
    --cc=jikos@kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-input@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).