diff options
author | Kay, Allen M <allen.m.kay@intel.com> | 2012-01-26 10:25:53 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-02-14 08:45:02 -0800 |
commit | 26f41062f28de65e11d3cf353e52d0be73442be1 (patch) | |
tree | 55ff1002ff04ad6eb8efd8e60f8b60419bc16c64 /sound/ac97_bus.c | |
parent | 2debd9289997fc5d1c0043b41201a8b40d5e11d0 (diff) | |
download | blackbird-op-linux-26f41062f28de65e11d3cf353e52d0be73442be1.tar.gz blackbird-op-linux-26f41062f28de65e11d3cf353e52d0be73442be1.zip |
PCI: check for pci bar restore completion and retry
On some OEM systems, pci_restore_state() is called while FLR has not yet
completed. As a result, PCI BAR register restore is not successful. This fix
reads back the restored value and compares it with saved value and re-tries 10
times before giving up.
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
Signed-off-by: Eric Chanudet <eric.chanudet@citrix.com>
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'sound/ac97_bus.c')
0 files changed, 0 insertions, 0 deletions