From: John Youn <John.Youn@synopsys.com>
To: John Stultz <john.stultz@linaro.org>, Leo Yan <leo.yan@linaro.org>
Cc: John Youn <John.Youn@synopsys.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Linux USB List <linux-usb@vger.kernel.org>,
lkml <linux-kernel@vger.kernel.org>,
Guodong Xu <guodong.xu@linaro.org>,
Zhangfei Gao <zhangfei.gao@linaro.org>
Subject: Re: [PATCH] usb: dwc2: use u32 for DT binding parameters
Date: Fri, 6 Jan 2017 19:30:28 -0800 [thread overview]
Message-ID: <61dcd8f5-229c-4901-d152-e9041c7bfb4b@synopsys.com> (raw)
In-Reply-To: <CALAqxLVunQRZkQtG3u2X=igv-e7VAm6=ZbgyXj4mGSJjnBpcFQ@mail.gmail.com>
On 1/6/2017 1:52 PM, John Stultz wrote:
> On Fri, Jan 6, 2017 at 4:45 AM, Leo Yan <leo.yan@linaro.org> wrote:
>> Commit 05ee799f2021 ("usb: dwc2: Move gadget settings into core_params")
>> changes to type u16 for DT binding "g-rx-fifo-size" and
>> "g-np-tx-fifo-size" but use type u32 for "g-tx-fifo-size". Finally the
>> the first two parameters cannot be passed successfully with wrong data
>> format. This is found the data transferring broken on 96boards Hikey.
>>
>> This patch is to change all parameters to u32 type, and verified on
>> Hikey board the DT parameters can pass successfully.
>>
>> Signed-off-by: Leo Yan <leo.yan@linaro.org>
>
> Nice!
>
> This patch (while it doesn't apply cleanly to v4.10-rc2) does resolve
> the regression I reported earlier here:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.spinics.net_lists_linux-2Dusb_msg150766.html&d=DgIBaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=U3o8uKoKhWme5_V9D-eeCkB11BFwt4KvWztBgdE9ZpA&m=pIpbe7JcuPH0X7-CYbBt2U3yE2WPSPtrGaMQRtcvQM0&s=hYurvvfAzlq9WTDnKKUznSRb5thSAvIO9doLJOzfUSo&e=
>
> I didn't see the slight shift to u16s there.
>
> Leo, does the patch need a respin, or is it against Linus' HEAD and my
> tree is stale?
>
> Anyway, after re-applying it to my tree:
> Tested-by: John Stultz <john.stultz@linaro.org>
>
Thanks Leo and John.
I just sent out a rebased version for Felipe to pick up.
Regards,
John
next prev parent reply other threads:[~2017-01-07 3:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-06 12:45 Leo Yan
2017-01-06 21:52 ` John Stultz
2017-01-07 3:30 ` John Youn [this message]
2017-01-07 9:33 ` Leo Yan
2017-01-07 3:28 John Youn
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=61dcd8f5-229c-4901-d152-e9041c7bfb4b@synopsys.com \
--to=john.youn@synopsys.com \
--cc=gregkh@linuxfoundation.org \
--cc=guodong.xu@linaro.org \
--cc=john.stultz@linaro.org \
--cc=leo.yan@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=zhangfei.gao@linaro.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
all inboxes | Powered by JetHome®