commit | f659b57361c4a351ef2a5fc23b9197428e2e67f0 | [log] [tgz] |
---|---|---|
author | Heiko Schocher <hs@denx.de> | Mon Jul 14 10:22:11 2014 +0200 |
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | Wed Aug 06 00:18:01 2014 +0530 |
tree | 0e4464c9db8aeebe4ecac9ec2d82344783b82a3c | |
parent | 22052c6236cbebc446ffd51ac69271fe063c654a [diff] |
spi, spi_mxc: do not hang in spi_xchg_single if status register do never set MXC_CSPICTRL_TC, spi_xchg_single endless loops. Add a timeout here to prevent endless hang. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Dirk Behme <dirk.behme@gmail.com> Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>