diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2022-04-07 14:24:10 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-21 19:03:07 +0200 |
commit | b8a19881337678c02bb3d72ae821602e1a4c377d (patch) | |
tree | f57b9e87fb8da11ca0b88bef1a3cd2e7fe2a0f78 | |
parent | 134a3408c2d3f7e23eb0e4556e0a2d9f36c2614e (diff) | |
download | lwn-b8a19881337678c02bb3d72ae821602e1a4c377d.tar.gz lwn-b8a19881337678c02bb3d72ae821602e1a4c377d.zip |
usb: gadget: u_audio: clean up some inconsistent indenting
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>
-rw-r--r-- | drivers/usb/gadget/function/u_audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/function/u_audio.c b/drivers/usb/gadget/function/u_audio.c index 2bb569895a90..c1f62e91b012 100644 --- a/drivers/usb/gadget/function/u_audio.c +++ b/drivers/usb/gadget/function/u_audio.c @@ -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]; |