diff options
| author | Tobias Jakobi <tjakobi@math.uni-bielefeld.de> | 2014-09-05 01:19:48 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 01:15:18 -0400 |
| commit | 4463e1526780ad1c4a15ef5d68cdc19315303d44 (patch) | |
| tree | b32909904006e02fd333aa64087539c751e5362c /drivers/usb/misc | |
| parent | 3717c5c9b9ddebcc8c3c612faf395767d462662c (diff) | |
usb3503: clarify what the registers 'PDS' and 'CFG1' really do
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 <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
| -rw-r--r-- | drivers/usb/misc/usb3503.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c index 0819a2e4764e..ae7e1206ca54 100644 --- a/drivers/usb/misc/usb3503.c +++ b/drivers/usb/misc/usb3503.c | |||
| @@ -98,7 +98,7 @@ static int usb3503_connect(struct usb3503 *hub) | |||
| 98 | return err; | 98 | return err; |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | /* PDS : Disable For Self Powered Operation */ | 101 | /* PDS : Set the ports which are disabled in self-powered mode. */ |
| 102 | if (hub->port_off_mask) { | 102 | if (hub->port_off_mask) { |
| 103 | err = regmap_update_bits(hub->regmap, USB3503_PDS, | 103 | err = regmap_update_bits(hub->regmap, USB3503_PDS, |
| 104 | hub->port_off_mask, | 104 | hub->port_off_mask, |
| @@ -109,7 +109,7 @@ static int usb3503_connect(struct usb3503 *hub) | |||
| 109 | } | 109 | } |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | /* CFG1 : SELF_BUS_PWR -> Self-Powerd operation */ | 112 | /* CFG1 : Set SELF_BUS_PWR, this enables self-powered operation. */ |
| 113 | err = regmap_update_bits(hub->regmap, USB3503_CFG1, | 113 | err = regmap_update_bits(hub->regmap, USB3503_CFG1, |
| 114 | USB3503_SELF_BUS_PWR, | 114 | USB3503_SELF_BUS_PWR, |
| 115 | USB3503_SELF_BUS_PWR); | 115 | USB3503_SELF_BUS_PWR); |
