diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-09-01 10:52:44 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-03 09:49:06 +0200 |
commit | bfcd63fdc4287fd4a600df8812bbb09c4f0aff7a (patch) | |
tree | 9ba05de0bc204a3470094d300db49dd068a543ee /arch/blackfin | |
parent | da9ef6467871c8141cb13d094bbf10bc2df79065 (diff) | |
download | barebox-bfcd63fdc4287fd4a600df8812bbb09c4f0aff7a.tar.gz barebox-bfcd63fdc4287fd4a600df8812bbb09c4f0aff7a.tar.xz |
smc911x: check if the device is ready before using it
poll the READY bit in PMT_CTRL. Any other access to the device is
forbidden while this bit isn't set. Try for 100ms
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions