Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
4dc2ec09
Commit
4dc2ec09
authored
Dec 23, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/misc' into for-linus
parents
1f26cb92
a9605391
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
16 deletions
+2
-16
sound/core/Kconfig
sound/core/Kconfig
+1
-0
sound/core/pcm_timer.c
sound/core/pcm_timer.c
+1
-16
No files found.
sound/core/Kconfig
View file @
4dc2ec09
...
@@ -5,6 +5,7 @@ config SND_TIMER
...
@@ -5,6 +5,7 @@ config SND_TIMER
config SND_PCM
config SND_PCM
tristate
tristate
select SND_TIMER
select SND_TIMER
select GCD
config SND_HWDEP
config SND_HWDEP
tristate
tristate
...
...
sound/core/pcm_timer.c
View file @
4dc2ec09
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
*/
*/
#include <linux/time.h>
#include <linux/time.h>
#include <linux/gcd.h>
#include <sound/core.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm.h>
#include <sound/timer.h>
#include <sound/timer.h>
...
@@ -28,22 +29,6 @@
...
@@ -28,22 +29,6 @@
* Timer functions
* Timer functions
*/
*/
/* Greatest common divisor */
static
unsigned
long
gcd
(
unsigned
long
a
,
unsigned
long
b
)
{
unsigned
long
r
;
if
(
a
<
b
)
{
r
=
a
;
a
=
b
;
b
=
r
;
}
while
((
r
=
a
%
b
)
!=
0
)
{
a
=
b
;
b
=
r
;
}
return
b
;
}
void
snd_pcm_timer_resolution_change
(
struct
snd_pcm_substream
*
substream
)
void
snd_pcm_timer_resolution_change
(
struct
snd_pcm_substream
*
substream
)
{
{
unsigned
long
rate
,
mult
,
fsize
,
l
,
post
;
unsigned
long
rate
,
mult
,
fsize
,
l
,
post
;
...
...
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