mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
stmmac: fix a typo in the macro used to mask the mmc irq
This patch fixes the name of the macro used to mask the mmc interrupt: erroneously it was used: MMC_DEFAUL_MASK. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5f42f7bc96
commit
a6b9650108
@ -33,7 +33,7 @@
|
|||||||
#define MMC_TX_INTR 0x00000108 /* MMC TX Interrupt */
|
#define MMC_TX_INTR 0x00000108 /* MMC TX Interrupt */
|
||||||
#define MMC_RX_INTR_MASK 0x0000010c /* MMC Interrupt Mask */
|
#define MMC_RX_INTR_MASK 0x0000010c /* MMC Interrupt Mask */
|
||||||
#define MMC_TX_INTR_MASK 0x00000110 /* MMC Interrupt Mask */
|
#define MMC_TX_INTR_MASK 0x00000110 /* MMC Interrupt Mask */
|
||||||
#define MMC_DEFAUL_MASK 0xffffffff
|
#define MMC_DEFAULT_MASK 0xffffffff
|
||||||
|
|
||||||
/* MMC TX counter registers */
|
/* MMC TX counter registers */
|
||||||
|
|
||||||
@ -147,8 +147,8 @@ void dwmac_mmc_ctrl(void __iomem *ioaddr, unsigned int mode)
|
|||||||
/* To mask all all interrupts.*/
|
/* To mask all all interrupts.*/
|
||||||
void dwmac_mmc_intr_all_mask(void __iomem *ioaddr)
|
void dwmac_mmc_intr_all_mask(void __iomem *ioaddr)
|
||||||
{
|
{
|
||||||
writel(MMC_DEFAUL_MASK, ioaddr + MMC_RX_INTR_MASK);
|
writel(MMC_DEFAULT_MASK, ioaddr + MMC_RX_INTR_MASK);
|
||||||
writel(MMC_DEFAUL_MASK, ioaddr + MMC_TX_INTR_MASK);
|
writel(MMC_DEFAULT_MASK, ioaddr + MMC_TX_INTR_MASK);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This reads the MAC core counters (if actaully supported).
|
/* This reads the MAC core counters (if actaully supported).
|
||||||
|
Loading…
Reference in New Issue
Block a user