Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -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);