[PATCH] usb: musb: core: add common method of getting vbus status

2015-10-12 Thread Roman Alyautdin
Fix musb_platform_get_vbus_status return value in case of platform implementation is not defined, bringing expected behaviour of musb_platform_get wrapper. Add musb_vbus_show default method to determine VBUS status in case platform method is not defined. Signed-off-by: Roman Alyautdin

Re: [PATCH] usb: musb: core: add common method of getting vbus status

2015-10-12 Thread Roman Alyautdin
On 12/10/15 16:59, Roman Alyautdin wrote: Fix musb_platform_get_vbus_status return value in case of platform implementation is not defined, bringing expected behaviour of musb_platform_get wrapper. Add musb_vbus_show default method to determine VBUS status in case platform method is not defined

[PATCH] usb: musb: core: add common method of getting vbus status

2015-10-12 Thread Roman Alyautdin
Fix musb_platform_get_vbus_status return value in case of platform implementation is not defined, bringing expected behaviour of musb_platform_get wrapper. Add musb_vbus_show default method to determine VBUS status in case platform method is not defined. Signed-off-by: Roman Alyautdin

[PATCH] usb: musb: core: add common method of getting vbus status

2015-10-12 Thread Roman Alyautdin
Fix musb_platform_get_vbus_status return value in case of platform implementation is not defined, bringing expected behaviour of musb_platform_get wrapper. Add musb_vbus_show default method to determine VBUS status in case platform method is not defined. Signed-off-by: Roman Alyautdin <raly

Re: [PATCH] usb: musb: core: add common method of getting vbus status

2015-10-12 Thread Roman Alyautdin
On 12/10/15 16:59, Roman Alyautdin wrote: Fix musb_platform_get_vbus_status return value in case of platform implementation is not defined, bringing expected behaviour of musb_platform_get wrapper. Add musb_vbus_show default method to determine VBUS status in case platform method is not defined

[PATCH] usb: musb: core: add common method of getting vbus status

2015-10-12 Thread Roman Alyautdin
Fix musb_platform_get_vbus_status return value in case of platform implementation is not defined, bringing expected behaviour of musb_platform_get wrapper. Add musb_vbus_show default method to determine VBUS status in case platform method is not defined. Signed-off-by: Roman Alyautdin <raly

Re: [PATCH] usb: musb: dsps: implement vbus_status method

2015-10-08 Thread Roman Alyautdin
On 08/10/15 17:07, Sergei Shtylyov wrote: On 10/8/2015 4:50 PM, Sergei Shtylyov wrote: Implement vbus_status method of musb_platform_ops that allows musb_core to properly represent the VBUS status of musb_dsps devices in corresponding sysfs entry Signed-off-by: Roman Alyautdin --- drivers

Re: [PATCH] usb: musb: dsps: implement vbus_status method

2015-10-08 Thread Roman Alyautdin
On 08/10/15 17:07, Sergei Shtylyov wrote: On 10/8/2015 4:50 PM, Sergei Shtylyov wrote: Implement vbus_status method of musb_platform_ops that allows musb_core to properly represent the VBUS status of musb_dsps devices in corresponding sysfs entry Signed-off-by: Roman Alyautdin <raly

[PATCH] usb: musb: dsps: implement vbus_status method

2015-10-07 Thread Roman Alyautdin
Implement vbus_status method of musb_platform_ops that allows musb_core to properly represent the VBUS status of musb_dsps devices in corresponding sysfs entry Signed-off-by: Roman Alyautdin --- drivers/usb/musb/musb_dsps.c | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH] usb: musb: dsps: implement vbus_status method

2015-10-07 Thread Roman Alyautdin
Implement vbus_status method of musb_platform_ops that allows musb_core to properly represent the VBUS status of musb_dsps devices in corresponding sysfs entry Signed-off-by: Roman Alyautdin <ralyaut...@dev.rtsoft.ru> --- drivers/usb/musb/musb_dsps.c | 13 + 1 file chang