Commit 06a36ecb authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by David S. Miller

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: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5660b9d9
...@@ -133,9 +133,9 @@ static inline int ocelot_vlant_wait_for_completion(struct ocelot *ocelot) ...@@ -133,9 +133,9 @@ static inline int ocelot_vlant_wait_for_completion(struct ocelot *ocelot)
{ {
unsigned int val, timeout = 10; unsigned int val, timeout = 10;
/* Wait for the issued mac table command to be completed, or timeout. /* Wait for the issued vlan table command to be completed, or timeout.
* When the command read from ANA_TABLES_MACACCESS is * When the command read from ANA_TABLES_VLANACCESS is
* MACACCESS_CMD_IDLE, the issued command completed successfully. * VLANACCESS_CMD_IDLE, the issued command completed successfully.
*/ */
do { do {
val = ocelot_read(ocelot, ANA_TABLES_VLANACCESS); val = ocelot_read(ocelot, ANA_TABLES_VLANACCESS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment