ALSA: pcm: use helper function to refer parameter as read-only
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 16 May 2017 23:48:20 +0000 (08:48 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 May 2017 05:24:39 +0000 (07:24 +0200)
commitb55f9fdcd3f0b3da7c9d4b6c67d75a1878653221
tree207f922b47ed7bbd0086f2bd42c1a9deec88585c
parent8b674308a26a774896652dafe0dac7ee297eed9b
ALSA: pcm: use helper function to refer parameter as read-only

ALSA pcm core has hw_param_interval_c() to pick up parameter with const
qualifier for safe programming.

This commit applies it to the cases.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/oss/pcm_oss.c
sound/core/pcm_drm_eld.c
sound/core/pcm_lib.c
sound/core/pcm_native.c