revert my changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25589 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3021393e36
commit
9727e26555
@ -61,7 +61,7 @@ const char * stereo_enhancement_technique[] =
|
||||
"ESS Technology",
|
||||
"Harman International",
|
||||
"Nvidea",
|
||||
"Philips",
|
||||
"Philips"
|
||||
"Texas Instruments",
|
||||
"VLSI Technology",
|
||||
"TriTech",
|
||||
@ -199,7 +199,7 @@ ac97_attach(ac97_dev **_dev, codec_reg_read reg_read, codec_reg_write reg_write,
|
||||
dev->cookie = cookie;
|
||||
dev->reg_read = reg_read;
|
||||
dev->reg_write = reg_write;
|
||||
dev->codec_id = ((uint32)reg_read(cookie, AC97_VENDOR_ID1) << 16) | reg_read(cookie, AC97_VENDOR_ID2);
|
||||
dev->codec_id = (reg_read(cookie, AC97_VENDOR_ID1) << 16) | reg_read(cookie, AC97_VENDOR_ID2);
|
||||
codec = find_codec_table(dev->codec_id);
|
||||
dev->codec_info = codec->info;
|
||||
dev->init = codec->init;
|
||||
|
Loading…
Reference in New Issue
Block a user