commit | 3b36b98ff8dea187bd6c25174978da4f7b5e3231 | [log] [tgz] |
---|---|---|
author | Michael Sevakis <jethead71@rockbox.org> | Fri Jan 18 12:32:03 2008 +0000 |
committer | Michael Sevakis <jethead71@rockbox.org> | Fri Jan 18 12:32:03 2008 +0000 |
tree | 7cd2467638206b6e3aa167bd64cae85af5f1bcca | |
parent | 536b5a0482454d3e3104f2a77a29d37319bc845c [diff] |
Properly serialize ata_init with other threads. Fix a bug that always initialized the lock on every call to ata_init - that should be a one time init or else the lock could be corrupted on connect. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16104 a1c6a512-1295-4272-9138-f99709370657