[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJOFmgwcc95R8n9DGw0Er4icCMnd=Ku-J0Q7cMEOK212oUs62g@mail.gmail.com>
Date: Fri, 2 Sep 2016 18:03:06 -0700
From: Stephen Boyd <stephen.boyd@...aro.org>
To: Peter Chen <hzpeterchen@...il.com>
Cc: Linux USB List <linux-usb@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-arm-msm <linux-arm-msm@...r.kernel.org>,
Andy Gross <andy.gross@...aro.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Neil Armstrong <narmstrong@...libre.com>,
Arnd Bergmann <arnd@...db.de>, Felipe Balbi <balbi@...nel.org>,
Peter Chen <peter.chen@....com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Ivan T. Ivanov" <iivanov.xz@...il.com>
Subject: Re: [PATCH v3 10/22] usb: chipidea: Consolidate extcon notifiers
On Thu, Sep 1, 2016 at 8:17 PM, Peter Chen <hzpeterchen@...il.com> wrote:
> On Wed, Aug 31, 2016 at 05:40:24PM -0700, Stephen Boyd wrote:
>>
>>
>> if (cable->state)
>> - val |= OTGSC_ID;
>> + val &= ~OTGSC_ID; /* A device */
>> else
>> - val &= ~OTGSC_ID;
>> + val |= OTGSC_ID; /* B device */
>>
>> if (cable->enabled)
>> val |= OTGSC_IDIE;
>
> /**
> * struct ci_hdrc_cable - structure for external connector cable state tracking
> * @state: current state of the line
>
> You may change the name of variable "state" to "connected", per I
> understand, it has changed to the meaning of connected status for your patch.
>
Ok sure.
Powered by blists - more mailing lists