Hi Felipe,
On 28 August 2017 at 15:58, Felipe Balbi <felipe.ba...@linux.intel.com> wrote:
>
> Hi,
>
> Baolin Wang <baolin.w...@linaro.org> writes:
>> Hi Dan,
>>
>> On 25 August 2017 at 20:20, Dan Carpenter <dan.carpen...@oracle.com> wrote:
>>
Move the USB phy NULL checking before issuing usb_phy_set_charger_current()
to avoid unchecked dereference warning.
Signed-off-by: Baolin Wang <baolin.w...@linaro.org>
---
include/linux/usb/phy.h |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/linux/usb/p
USB charger part:
Reviewed-by: Baolin Wang <baolin.w...@linaro.org>
--
Baolin.wang
Best Regards
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
get, int is_active)
> gadget_ready = 1;
> spin_unlock_irqrestore(>lock, flags);
>
> + if (ci->usb_phy)
> + usb_phy_set_charger_state(ci->usb_phy, is_active ?
> + USB_CHARGER_PRESENT : USB_CHARGER
Add compatible string to use this generic glue layer to support
Spreadtrum SC9860 platform's dwc3 controller.
Signed-off-by: Baolin Wang <baolin.w...@spreadtrum.com>
---
drivers/usb/dwc3/dwc3-of-simple.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/dwc3/dwc3-of-simpl
charger initialization.
Signed-off-by: Baolin Wang <baolin.w...@linaro.org>
---
drivers/usb/phy/phy.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c
index f97cb47..bceb2c9 100644
--- a/drivers/usb/phy/phy.c
On 5 March 2018 at 19:14, Roger Quadros <rog...@ti.com> wrote:
> On 05/03/18 13:06, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Baolin Wang <baolin.w...@linaro.org> writes:
>>>>> Roger Quadros <rog...@ti.com> writes:
>>>>>>>
Hi Roger,
On 5 March 2018 at 17:45, Roger Quadros wrote:
> Felipe,
>
> On 05/03/18 10:49, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Roger Quadros writes:
Roger Quadros writes:
> In the following test we get stuck by sleeping forever in
Hi Roger,
On 27 February 2018 at 19:22, Roger Quadros wrote:
> In the following test we get stuck by sleeping forever in _dwc3_set_mode()
> after which dual-role switching doesn't work.
>
> On dra7-evm's dual-role port,
> - Load g_zero gadget driver and enumerate to host
> -
501 - 509 of 509 matches
Mail list logo