net: dsa: mv88e6xxx: add an error code check in mv88e6352_tai_event_work
Su Hui authored

mv88e6xxx_tai_write() can return error code (-EOPNOTSUPP ...) if failed.
So check the value of 'ret' after calling mv88e6xxx_tai_write().
Signed-off-by: default avatarSu Hui <suhui@nfschina.com>
Reviewed-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
a792197f