mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-02-25 01:40:21 -05:00
[hdsp] Fix for 64bit architectures
Fixed the loading of firmware data and the handling of meter mmap on 64bit architectures.
This commit is contained in:
parent
7cd97bf3a2
commit
2e875b8b72
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ void upload_firmware(int card)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
firmware.firmware_data = (unsigned long *)code;
|
firmware.firmware_data = code;
|
||||||
switch (version.io_type) {
|
switch (version.io_type) {
|
||||||
case Multiface:
|
case Multiface:
|
||||||
if (version.firmware_rev == 0xa) {
|
if (version.firmware_rev == 0xa) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue