Adding data out action, and retry for both data in and out
Signed-off-by: H.K. Wong <hkwong74531@yahoo.com.hk>