mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
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>
This commit is contained in:
parent
3717c5c9b9
commit
4463e15267
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ static int usb3503_connect(struct usb3503 *hub)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PDS : Disable For Self Powered Operation */
|
/* PDS : Set the ports which are disabled in self-powered mode. */
|
||||||
if (hub->port_off_mask) {
|
if (hub->port_off_mask) {
|
||||||
err = regmap_update_bits(hub->regmap, USB3503_PDS,
|
err = regmap_update_bits(hub->regmap, USB3503_PDS,
|
||||||
hub->port_off_mask,
|
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,
|
err = regmap_update_bits(hub->regmap, USB3503_CFG1,
|
||||||
USB3503_SELF_BUS_PWR,
|
USB3503_SELF_BUS_PWR,
|
||||||
USB3503_SELF_BUS_PWR);
|
USB3503_SELF_BUS_PWR);
|
||||||
|
|
Loading…
Reference in a new issue