RE: [PATCH 1/5] usb: typec: tcpm: source pdo selection update

2018-03-23 Thread Jun Li
inux-usb@vger.kernel.org; devicet...@vger.kernel.org; dl-linux-imx > > Subject: RE: [PATCH 1/5] usb: typec: tcpm: source pdo selection update > > Hi > > -Original Message- > > From: Hans de Goede [mailto:hdego...@redhat.com] > > Sent: 2018年3月20日 20:27 > > To:

RE: [PATCH 1/5] usb: typec: tcpm: source pdo selection update

2018-03-21 Thread Jun Li
ao@gmail.com > Cc: linux-usb@vger.kernel.org; devicet...@vger.kernel.org; dl-linux-imx > > Subject: Re: [PATCH 1/5] usb: typec: tcpm: source pdo selection update > > Hi, > > On 20-03-18 11:26, Li Jun wrote: > > Instead of only compare between the same pdo type of sink

Re: [PATCH 1/5] usb: typec: tcpm: source pdo selection update

2018-03-20 Thread Hans de Goede
Hi, On 20-03-18 11:26, Li Jun wrote: Instead of only compare between the same pdo type of sink and source, this patch update the source pdo selection by checking the source pdo voltage range is within that of sink. Signed-off-by: Li Jun This patch applies on top of the broken reverted commit

[PATCH 1/5] usb: typec: tcpm: source pdo selection update

2018-03-20 Thread Li Jun
Instead of only compare between the same pdo type of sink and source, this patch update the source pdo selection by checking the source pdo voltage range is within that of sink. Signed-off-by: Li Jun --- drivers/usb/typec/tcpm.c | 101 +-- 1 file chang