diff options
author | Takashi Iwai | 2021-08-30 08:04:04 +0200 |
---|---|---|
committer | Takashi Iwai | 2021-08-30 08:04:04 +0200 |
commit | f7b82b12626e10a2f5332b699cc79819ac8decc7 (patch) | |
tree | e530e0ebd7c60c9f466fdc00e809c024e63c664a /sound/core | |
parent | ea41a498cc646349d64eda7e8a4e23ae999bc259 (diff) | |
parent | 4801bee7d5a36c199b734a28cde5259183aff822 (diff) |
Merge branch 'for-linus' into for-next
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/pcm_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c index 7d5883432085..a144a3f68e9e 100644 --- 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; } |