aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/fsl_iim.c
diff options
context:
space:
mode:
authorAndre Przywara2020-07-06 01:40:42 +0100
committerJagan Teki2020-10-21 23:44:52 +0530
commit2c5600c38ce642e1763afe4f3b5fb6dd8f442aa5 (patch)
tree459be96bd9ded49011363b7776bd85a252103ac2 /drivers/misc/fsl_iim.c
parent09501ff32eee22469daf9279a46bb3b9a1fe7625 (diff)
net: sun8i_emac: Fix MAC soft reset
The EMAC soft reset routine was subtly broken, using an open coded timeout routine without any actual delay. Remove the unneeded initial reset bit read, and call wait_for_bit_le32() to handle the timeout correctly. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <mripard@kernel.org> Tested-by: Amit Singh Tomar <amittomer25@gmail.com> # Pine64+ Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/misc/fsl_iim.c')
0 files changed, 0 insertions, 0 deletions