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
nexedi
linux
Commits
9c30f2b6
Commit
9c30f2b6
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sf16fmi janitor work
parent
4ea8da0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
+4
-13
drivers/media/radio/radio-sf16fmi.c
drivers/media/radio/radio-sf16fmi.c
+4
-13
No files found.
drivers/media/radio/radio-sf16fmi.c
View file @
9c30f2b6
...
...
@@ -84,22 +84,13 @@ static inline int fmi_setfreq(struct fmi_device *dev)
{
int
myport
=
dev
->
port
;
unsigned
long
freq
=
dev
->
curfreq
;
int
i
;
down
(
&
lock
);
outbits
(
16
,
RSF16_ENCODE
(
freq
),
myport
);
outbits
(
8
,
0xC0
,
myport
);
for
(
i
=
0
;
i
<
100
;
i
++
)
{
udelay
(
1400
);
cond_resched
();
}
/* If this becomes allowed use it ...
current
->
state
=
TASK_UNINTERRUPTIBLE
;
schedule_timeout
(
HZ
/
7
);
*/
up
(
&
lock
);
if
(
dev
->
curvol
)
fmi_unmute
(
myport
);
return
0
;
...
...
@@ -110,7 +101,7 @@ static inline int fmi_getsigstr(struct fmi_device *dev)
int
val
;
int
res
;
int
myport
=
dev
->
port
;
int
i
;
down
(
&
lock
);
val
=
dev
->
curvol
?
0x08
:
0x00
;
/* unmute/mute */
...
...
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