Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1537478

Re: [RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver
Date 2016-12-07 05:20 +0100
Message-ID <sLBS2-3o7-17@gated-at.bofh.it> (permalink)
References <sLiZ3-7V0-3@gated-at.bofh.it> <sLByG-2XJ-9@gated-at.bofh.it> <sLiZ3-7V0-1@gated-at.bofh.it> <sLByG-2XJ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Dec 6, 2016 at 7:54 PM, Chanwoo Choi <cw00.choi@samsung.com> wrote:
> Hi John,
>
> I give a some guide for extcon API.
> This patch uses the deprecated extcon API (extcon_get_cable_state_).
> So, I recommend that you better to use following extcon API:
> - extcon_get_cable_state_()  -> extcon_get_state()
> - extcon_register_notifier() -> devm_extcon_register_notifier()

Many thanks for the pointers! I really appreciate it! I'll rework the
driver accordingly (if JohnY doesn't conclude that the extcon support
here is unnecessary).

thanks
-john

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver John Stultz <john.stultz@linaro.org> - 2016-12-06 09:10 +0100
  Re: [RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver John Youn <John.Youn@synopsys.com> - 2016-12-07 00:20 +0100
    Re: [RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver John Stultz <john.stultz@linaro.org> - 2016-12-07 01:20 +0100
      Re: [RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver John Youn <John.Youn@synopsys.com> - 2016-12-07 01:30 +0100
        Re: [RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver John Stultz <john.stultz@linaro.org> - 2016-12-07 01:40 +0100
          Re: [RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver John Stultz <john.stultz@linaro.org> - 2016-12-07 02:50 +0100
  Re: [RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver Chanwoo Choi <cw00.choi@samsung.com> - 2016-12-07 05:00 +0100
    Re: [RFC][PATCH 1/3 v2] usb: dwc2: Add extcon support to dwc2 driver John Stultz <john.stultz@linaro.org> - 2016-12-07 05:20 +0100

csiph-web