projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'locking-debug-2021-09-01' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git]
/
sound
/
core
/
pcm_lib.c
diff --git
a/sound/core/pcm_lib.c
b/sound/core/pcm_lib.c
index
7d58834
..
a144a3f
100644
(file)
--- a/
sound/core/pcm_lib.c
+++ b/
sound/core/pcm_lib.c
@@
-1746,7
+1746,7
@@
static int snd_pcm_lib_ioctl_fifo_size(struct snd_pcm_substream *substream,
channels = params_channels(params);
frame_size = snd_pcm_format_size(format, channels);
if (frame_size > 0)
- params->fifo_size /=
(unsigned)
frame_size;
+ params->fifo_size /= frame_size;
}
return 0;
}