From patchwork Sat Aug 14 07:22:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Hofman X-Patchwork-Id: 497307 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E0F8C4338F for ; Sat, 14 Aug 2021 07:22:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 36C8760F51 for ; Sat, 14 Aug 2021 07:22:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237332AbhHNHWx (ORCPT ); Sat, 14 Aug 2021 03:22:53 -0400 Received: from cable.insite.cz ([84.242.75.189]:50638 "EHLO cable.insite.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237248AbhHNHWu (ORCPT ); Sat, 14 Aug 2021 03:22:50 -0400 Received: from localhost (localhost [127.0.0.1]) by cable.insite.cz (Postfix) with ESMTP id 27D90A1A3D402; Sat, 14 Aug 2021 09:22:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ivitera.com; s=mail; t=1628925740; bh=DkcJHZNbIZZE4Jd2cA9F0v8ueW8ClGJm2XpwugboM8o=; h=From:To:Cc:Subject:Date:From; b=WjvE6v8kCpxv1kNxPKaXRrZU3tUAf8KhyaZ2pgYMu9fK0+tJ1w0qN7Qef255Q8q9h D+aCa2R95ZwTTPDhPqVTUFkimbWkJ82Mr+FJ3T5LZVtrihSa4xa6hDdMH+i08pHGWX rWnLxBPAr/sEMJrWoB68oDOOr6RJCia2/OqOxht8= Received: from cable.insite.cz ([84.242.75.189]) by localhost (server.insite.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RJUE5jo2dDut; Sat, 14 Aug 2021 09:22:15 +0200 (CEST) Received: from precision.doma (ip28.insite.cz [81.0.237.28]) (Authenticated sender: pavel) by cable.insite.cz (Postfix) with ESMTPSA id BFDE3A1A3D400; Sat, 14 Aug 2021 09:22:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ivitera.com; s=mail; t=1628925734; bh=DkcJHZNbIZZE4Jd2cA9F0v8ueW8ClGJm2XpwugboM8o=; h=From:To:Cc:Subject:Date:From; b=Gs4o6Ti7Qu+NTAgzaDlb8dldQt9a8jqYLFepWmXXHWgVfxHs8qRNmZVaj570WZGBZ HEK7iCuok/HPqVEmksTdme2jY0vtgGqlqgnS9VetbOX7vRbGQacDAaA8rx0vlVHS6s iKfDJYPDZs81Rd1QepAFueH+DDT072dzKEBeub8I= From: Pavel Hofman To: linux-usb@vger.kernel.org Cc: Pavel Hofman , Ruslan Bilovol , Felipe Balbi Subject: [PATCH] usb: gadget: f_uac1: fixing inconsistent indenting Date: Sat, 14 Aug 2021 09:22:14 +0200 Message-Id: <20210814072214.4893-1-pavel.hofman@ivitera.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixing inconsistent indenting identified by kernel test robot. Signed-off-by: Pavel Hofman --- drivers/usb/gadget/function/f_uac1.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/usb/gadget/function/f_uac1.c b/drivers/usb/gadget/function/f_uac1.c index 3b3db1a8df75..5b3502df4e13 100644 --- a/drivers/usb/gadget/function/f_uac1.c +++ b/drivers/usb/gadget/function/f_uac1.c @@ -1084,24 +1084,24 @@ static int f_audio_validate_opts(struct g_audio *audio, struct device *dev) if (opts->p_volume_max <= opts->p_volume_min) { dev_err(dev, "Error: incorrect playback volume max/min\n"); - return -EINVAL; + return -EINVAL; } else if (opts->c_volume_max <= opts->c_volume_min) { dev_err(dev, "Error: incorrect capture volume max/min\n"); - return -EINVAL; + return -EINVAL; } else if (opts->p_volume_res <= 0) { dev_err(dev, "Error: negative/zero playback volume resolution\n"); - return -EINVAL; + return -EINVAL; } else if (opts->c_volume_res <= 0) { dev_err(dev, "Error: negative/zero capture volume resolution\n"); - return -EINVAL; + return -EINVAL; } if ((opts->p_volume_max - opts->p_volume_min) % opts->p_volume_res) { dev_err(dev, "Error: incorrect playback volume resolution\n"); - return -EINVAL; + return -EINVAL; } else if ((opts->c_volume_max - opts->c_volume_min) % opts->c_volume_res) { dev_err(dev, "Error: incorrect capture volume resolution\n"); - return -EINVAL; + return -EINVAL; } return 0;