The current comment sounds like you have to disable some of
the ports to be able to use self-powered mode. This is
misleading, so change the wording to reflect this.

Signed-off-by: Tobias Jakobi <tjak...@math.uni-bielefeld.de>
---
 drivers/usb/misc/usb3503.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c
index 0819a2e..ae7e120 100644
--- a/drivers/usb/misc/usb3503.c
+++ b/drivers/usb/misc/usb3503.c
@@ -98,7 +98,7 @@ static int usb3503_connect(struct usb3503 *hub)
                        return err;
                }
 
-               /* PDS : Disable For Self Powered Operation */
+               /* PDS : Set the ports which are disabled in self-powered mode. 
*/
                if (hub->port_off_mask) {
                        err = regmap_update_bits(hub->regmap, USB3503_PDS,
                                        hub->port_off_mask,
@@ -109,7 +109,7 @@ static int usb3503_connect(struct usb3503 *hub)
                        }
                }
 
-               /* CFG1 : SELF_BUS_PWR -> Self-Powerd operation */
+               /* CFG1 : Set SELF_BUS_PWR, this enables self-powered 
operation. */
                err = regmap_update_bits(hub->regmap, USB3503_CFG1,
                                         USB3503_SELF_BUS_PWR,
                                         USB3503_SELF_BUS_PWR);
-- 
1.8.5.5

--
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

Reply via email to