Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
90c1774a
Commit
90c1774a
authored
Jun 03, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: remove usage of pci_for_each_dev() in sound/pci/rme9652/hammerfall_mem.c
parent
6aaa2158
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sound/pci/rme9652/hammerfall_mem.c
sound/pci/rme9652/hammerfall_mem.c
+3
-3
No files found.
sound/pci/rme9652/hammerfall_mem.c
View file @
90c1774a
...
...
@@ -205,7 +205,7 @@ static void hammerfall_free_buffers (void)
static
int
__init
alsa_hammerfall_mem_init
(
void
)
{
int
i
;
struct
pci_dev
*
pci
;
struct
pci_dev
*
pci
=
NULL
;
hammerfall_buf_t
*
rbuf
;
/* make sure our buffer records are clean */
...
...
@@ -225,12 +225,12 @@ static int __init alsa_hammerfall_mem_init(void)
i
=
0
;
/* card number */
rbuf
=
hammerfall_buffers
;
pci_for_each_dev
(
pci
)
{
while
((
pci
=
pci_find_device
(
PCI_VENDOR_ID_XILINX
,
PCI_ANY_ID
,
pci
))
!=
NULL
)
{
int
k
;
/* check for Hammerfall and Hammerfall DSP cards */
if
(
pci
->
vendor
!=
0x10ee
||
(
pci
->
device
!=
0x3fc4
&&
pci
->
device
!=
0x3fc5
))
if
(
pci
->
device
!=
0x3fc4
&&
pci
->
device
!=
0x3fc5
)
continue
;
if
(
!
enable
[
i
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment