]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
authorMarek Behún <kabel@kernel.org>
Wed, 30 Jun 2021 22:22:27 +0000 (00:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jul 2021 18:51:36 +0000 (11:51 -0700)
commitd4b2ca83a12509ea7b73795bcfb82bb6fd405ead
treecb5d292edd9b0a0f47ec8a179e2d14e3c886da4a
parentd150ee7e6eb366f6880f04d1f3f91ec3084ae2e3
net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz

Commit 7714b8967519 ("net: dsa: mv88e6xxx: Fix stats histogram mode")
introduced wrong .stats_set_histogram() method for Topaz family.

The Peridot method should be used instead.

Signed-off-by: Marek Behún <kabel@kernel.org>
Fixes: 7714b8967519 ("net: dsa: mv88e6xxx: Fix stats histogram mode")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c