commit | b77c888aeff435f819c7b4e49929f3c1af5385c5 | [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 | ec2a323f161634117c080eb3dcef89ce96dbc209 [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>