commit | 3a5015cc9d7051ce8e706ef48276d8484aac0c4b | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sat Jan 26 20:13:09 2008 +0100 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sat Jan 26 20:13:09 2008 +0100 |
tree | 44c983552fb651a887a0276fdd8cc309376f2bfd | |
parent | ce71ed9ba8b558d54c213d372a6cf8b302fa1fa4 [diff] |
ide: add ide_busy_sleep() helper Add ide_busy_sleep() helper and use it in do_probe(), enable_nest() and probe_hwif(). As a nice side-effect this fixes a minor bug in do_probe() (the code was reading status register without any delay). Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>