diff options
| author | Ray Chi <raychi@google.com> | 2021-03-27 21:28:08 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-28 14:35:54 +0300 |
| commit | 8a5b5c3c1634f9d7a96ea3b38f3d75333c887bf6 (patch) | |
| tree | 76407b883e3c8c3a0d261bce7bc3007bd1bd5615 /include/linux/timerqueue.h | |
| parent | 24327c478b2fc17a01b21a4721f35f22a51fe12b (diff) | |
| download | linux-8a5b5c3c1634f9d7a96ea3b38f3d75333c887bf6.tar.xz | |
usb: dwc3: gadget: modify the scale in vbus_draw callback
Currently, vbus_draw callback used wrong scale for power_supply.
The unit of power supply should be uA.
Therefore, this patch will fix this problem.
Fixes: 99288de36020 ("usb: dwc3: add an alternate path in vbus_draw callback")
Reported-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Ray Chi <raychi@google.com>
Link: https://lore.kernel.org/r/20210327182809.1814480-2-raychi@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
