mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
gianfar: Fix thinko in gfar_set_rx_stash_index()
We obviously want to write a modified 'temp' value back to the register, not the saved IRQ flags. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5ea681d4e6
commit
499428ed28
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ static ssize_t gfar_set_rx_stash_index(struct device *dev,
|
|||
temp = gfar_read(®s->attreli);
|
||||
temp &= ~ATTRELI_EI_MASK;
|
||||
temp |= ATTRELI_EI(index);
|
||||
gfar_write(®s->attreli, flags);
|
||||
gfar_write(®s->attreli, temp);
|
||||
|
||||
out:
|
||||
unlock_rx_qs(priv);
|
||||
|
|
Loading…
Reference in a new issue