Skip to content
Snippets Groups Projects
Commit fe91095b authored by Codrin Ciubotariu's avatar Codrin Ciubotariu Committed by York Sun
Browse files

drivers/net/vsc9953: Fix bug when enabling a port


When a port is enabled at init time, the initializing function
touches more bits than necessary to enable a port (also touches
reserved bits and default bit values). This patch fixes this issue
by changing the value of the define used to enable the port and
assures that no other bits are changes by replacing out_le32()
with setbits_le32().

Signed-off-by: default avatarCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 3cc8cfff
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment