]> git.baikalelectronics.ru Git - kernel.git/commitdiff
usb: gadget: u_audio: clean up some inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 7 Apr 2022 06:24:10 +0000 (14:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Apr 2022 17:03:07 +0000 (19:03 +0200)
Eliminate the follow smatch warning:

drivers/usb/gadget/function/u_audio.c:1182 g_audio_setup() warn:
inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220407062410.89214-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_audio.c

index 2bb569895a90610eecb8ea03e8016840b41fee27..c1f62e91b012634498bb7b299e59a018c28076d6 100644 (file)
@@ -1179,8 +1179,8 @@ int g_audio_setup(struct g_audio *g_audio, const char *pcm_name,
        if (c_chmask) {
                struct uac_rtd_params *prm = &uac->c_prm;
 
-    spin_lock_init(&prm->lock);
-    uac->c_prm.uac = uac;
+               spin_lock_init(&prm->lock);
+               uac->c_prm.uac = uac;
                prm->max_psize = g_audio->out_ep_maxpsize;
                prm->srate = params->c_srates[0];