ALSA: usb-audio: Constify audioformat pointer references
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 08:53:33 +0000 (09:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 14:15:36 +0000 (15:15 +0100)
commitcab941b7e5cf054502b01f776db724400ee5c1b6
treedc80dec664d8f67b7ce213bd0d7cfb3b7cf42717
parentc15871e17fc6efb98176b92b4152019876dbec24
ALSA: usb-audio: Constify audioformat pointer references

The audioformat is referred in many places but most of usages are
read-only.  Let's add const prefix in the possible places.

Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-28-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.h
sound/usb/clock.c
sound/usb/clock.h
sound/usb/endpoint.c
sound/usb/endpoint.h
sound/usb/pcm.c
sound/usb/pcm.h
sound/usb/quirks.c
sound/usb/quirks.h