summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/function/f_uac1.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-01-22 17:26:54 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-02-07 14:14:51 +0300
commit1ff767bfa54a97f4289cd0dad22d404b53a6d8e3 (patch)
treebf4dc4f45bf02bccb82d5f79be7f1c21f2c78868 /drivers/usb/gadget/function/f_uac1.c
parent97311c8f8b6e26d5ba6508f0df430ad80fc59327 (diff)
downloadlinux-1ff767bfa54a97f4289cd0dad22d404b53a6d8e3.tar.xz
usb: gadget: fix various indentation issues
There are a bunch of various indentation issues, clean these up. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget/function/f_uac1.c')
-rw-r--r--drivers/usb/gadget/function/f_uac1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/gadget/function/f_uac1.c b/drivers/usb/gadget/function/f_uac1.c
index 2746a926a8d9..fe42ffccb020 100644
--- a/drivers/usb/gadget/function/f_uac1.c
+++ b/drivers/usb/gadget/function/f_uac1.c
@@ -459,10 +459,10 @@ static int f_audio_set_alt(struct usb_function *f, unsigned intf, unsigned alt)
} else if (intf == uac1->as_in_intf) {
uac1->as_in_alt = alt;
- if (alt)
- ret = u_audio_start_playback(&uac1->g_audio);
- else
- u_audio_stop_playback(&uac1->g_audio);
+ if (alt)
+ ret = u_audio_start_playback(&uac1->g_audio);
+ else
+ u_audio_stop_playback(&uac1->g_audio);
} else {
dev_err(dev, "%s:%d Error!\n", __func__, __LINE__);
return -EINVAL;