]> git.baikalelectronics.ru Git - kernel.git/commit
phy: ralink: phy-mt7621-pci: fix XTAL bitmask
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 2 Mar 2021 10:54:12 +0000 (11:54 +0100)
committerVinod Koul <vkoul@kernel.org>
Tue, 30 Mar 2021 18:05:17 +0000 (23:35 +0530)
commit45216456e13fa3ad82adb70752094b25ea0be02d
tree9edd0e1c251a4706433ef4e969478b9116fe64b8
parent38039ea9e20ea30179192d59f3c91ffba3a8be7c
phy: ralink: phy-mt7621-pci: fix XTAL bitmask

When this was rewriten to get mainlined and start to
use 'linux/bitfield.h' headers, XTAL_MASK was wrong.
It must mask three bits but only two were used. Hence
properly fix it to make things work.

Fixes: d658963639d6 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY")
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210302105412.16221-1-sergio.paracuellos@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ralink/phy-mt7621-pci.c