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)
commit982313c38f2f3793b6435ff50997ae96a2274f5a
tree9edd0e1c251a4706433ef4e969478b9116fe64b8
parented9e07f815cd66405895781dd29033c1a7b47b8a
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: d87da32372a0 ("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