]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ebf5d41c4581fe6242dd37a673c53b6bb0cad9c
treedc80dec664d8f67b7ce213bd0d7cfb3b7cf42717
parent4d80b475bf1f9465926af7af01cf62704ff1e3b6
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