aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2018-10-17 11:26:35 -0400
committerDavid S. Miller <davem@davemloft.net>2018-10-18 01:33:43 -0400
commit06a36ecb5d0ee4b379845a5687f83084d3187521 (patch)
treec9dc3de5d18b0d511b933f5abe911f7e133f46ce
parent5660b9d9d6a29c2c3cc12f62ae44bfb56b0a15a9 (diff)
net: mscc: ocelot: Fix comment in ocelot_vlant_wait_for_completion()
The ocelot_vlant_wait_for_completion() function is very similar to the ocelot_mact_wait_for_completion(). It seemed to have be copied but the comment was not updated, so let's fix it. Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/mscc/ocelot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/mscc/ocelot.c b/drivers/net/ethernet/mscc/ocelot.c
index 1a4f2bb48ead..ed4e298cd823 100644
--- a/drivers/net/ethernet/mscc/ocelot.c
+++ b/drivers/net/ethernet/mscc/ocelot.c
@@ -133,9 +133,9 @@ static inline int ocelot_vlant_wait_for_completion(struct ocelot *ocelot)
133{ 133{
134 unsigned int val, timeout = 10; 134 unsigned int val, timeout = 10;
135 135
136 /* Wait for the issued mac table command to be completed, or timeout. 136 /* Wait for the issued vlan table command to be completed, or timeout.
137 * When the command read from ANA_TABLES_MACACCESS is 137 * When the command read from ANA_TABLES_VLANACCESS is
138 * MACACCESS_CMD_IDLE, the issued command completed successfully. 138 * VLANACCESS_CMD_IDLE, the issued command completed successfully.
139 */ 139 */
140 do { 140 do {
141 val = ocelot_read(ocelot, ANA_TABLES_VLANACCESS); 141 val = ocelot_read(ocelot, ANA_TABLES_VLANACCESS);