Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3889864rwe; Mon, 17 Apr 2023 05:14:14 -0700 (PDT) X-Google-Smtp-Source: AKy350YxskF609zi8IVzp38KnxS9mvKd56uCgrL7BBNKhz+Vn/Ro+BgC9AswvLBt7EWQzwlgwrXN X-Received: by 2002:a17:903:2111:b0:1a6:4606:6e06 with SMTP id o17-20020a170903211100b001a646066e06mr9114721ple.17.1681733653847; Mon, 17 Apr 2023 05:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681733653; cv=none; d=google.com; s=arc-20160816; b=iArK+w1beckApe7ioMA6yOECIKCUzHD5zSTEGEmyMalZookVqfmQxDOUbWlISwWDJn 5Bxre7rr418FSpIdZfIHdIWi8m9o8dJzCe0gNApSHtSo3KDyjN10RuYaqxk7e7+/+V4a yuUm8J6QNZBP/O/gl/6enG1JTAZNDOd2gz//D+VrRLrrw1NpZ9Okj70VjXyqESU/9/gT GaSZlZNF+v+2/ONFCptAboMkEC2QGQgidM0rjQnHN6l4TsDPkeMPufhCn5tgl1UNh1Fl dLbWbSjHvQedZ41pGh1gAsDY2p5uL5bLmhV2Bc9674Ff0RSb30bCAyb+vYCT939ZZXt6 SyPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5TewJ1RrFHFrg7FTQB5xmBV0f+ig0UTnQJKvATVOD0E=; b=w+ntTpl1FfQFbtrjVyOvUgLL9qt14re1ZmmU+zW15f0WFRv0VADsMiYoTfXYMlbPN3 5SKsTmUnaN+PjFXtDiz+WMzEjv4xJrSgBxca7yFWlfCTLHGpzclE8trxE7lM+atGm1zS cfAw9WlKu0oJKUQ5rW1IO9nEDlALZQcduAiNRXe7vJZ4LYUE3OggAlWni4FXKPVGmT6I riL9DJBrc/GoAw+o+tdVHOufxXI1wofgfJ4GcQ6Wf/eKshaJbFuPqjXaCB3ro5+sLMXt UDnvPrd2xqN0J36BNdvJKj7mfSOAyClK1Mqp3EAwnhf3ZOpkgaeZBcVoQmjzGt5fDwmk 6A3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=rsLcVCd9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020a1709026b4500b0019f7977c9cfsi10627958plt.319.2023.04.17.05.14.01; Mon, 17 Apr 2023 05:14:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=rsLcVCd9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230357AbjDQMMS (ORCPT + 99 others); Mon, 17 Apr 2023 08:12:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230397AbjDQMMP (ORCPT ); Mon, 17 Apr 2023 08:12:15 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE16E7296 for ; Mon, 17 Apr 2023 05:11:52 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id l5so4689680ybe.7 for ; Mon, 17 Apr 2023 05:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1681733504; x=1684325504; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5TewJ1RrFHFrg7FTQB5xmBV0f+ig0UTnQJKvATVOD0E=; b=rsLcVCd9c/lWXu+hqwU7xr78XK7eJjKhocggDxrsnlpFfDL/HVByDq3FRzT2Wi4U0v /TzNSif4wL1kd8nip3b1rTP3eOrRQaw1MgGUd6BfNANOwoD/XOrEBI6CFI/P0WJwUV07 NFfoVbGY9G7LUs4mibE09Myap/NeV82aIU544JGsl3Brq8tG5PBemFPamoRyLosDe+IH 0B/pbOrmzm86NgFMbUzgWMs/aBOZYhExkVDjGx7ufXzqpNanLdiNgQMIQpjT6t9LQeq1 nKDvIIqi/qA97aZgfEJDcrMPEuTIrTsDCpFgwTSW3G/73ey5u8asPxF7VkFAdcErtnT3 IGlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681733504; x=1684325504; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5TewJ1RrFHFrg7FTQB5xmBV0f+ig0UTnQJKvATVOD0E=; b=IVcjUGPav4/pMkRFlhaS24YuGqCdgqS5o7ClUvA6Zx4mR/7qC5hIb65GqOXCqmJT/C ySHreu6ChGeX1Qy8BStlR8dffWRZLQJUKYbwMGjtKGqFwzvlqjWW5LfdKUv79g+YksXX AsEA3r9w7VWRqhgnsK8D1+CLRVaXOhnmiQrkhILDj5u91hjkhRNtIJeI1vV0TKm0MaiP JXolWjYZIW/g1pl91mMdqSMlIsJOyct1EMOKCFrlcIGanbzgDe//T1U900O80Eu9x2P8 d4UeS2xmdUzpRtPTsatvh3+tIvlWrZIp49Gk6IQDL3WSlZHexXDrkO0Rm8AFcTZSw+9d aQdA== X-Gm-Message-State: AAQBX9ezN016LsOHYbRIv9bzxmgy6q8D3tVXSXpenkWo6as2TLIXRdpU Xe7jqBzaCNak5dI14U1jGAcf7b95y5UMNovxrZ92KQ== X-Received: by 2002:a25:e082:0:b0:b92:3917:d925 with SMTP id x124-20020a25e082000000b00b923917d925mr3003107ybg.8.1681733503853; Mon, 17 Apr 2023 05:11:43 -0700 (PDT) MIME-Version: 1.0 References: <20230414120520.360291-1-joychakr@google.com> <20230414120520.360291-3-joychakr@google.com> In-Reply-To: From: Joy Chakraborty Date: Mon, 17 Apr 2023 17:41:32 +0530 Message-ID: Subject: Re: [PATCH v6 2/5] spi: dw: Move "dw_spi_can_dma" function To: Andy Shevchenko Cc: Serge Semin , Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, manugautam@google.com, rohitner@google.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 17, 2023 at 4:13=E2=80=AFPM Andy Shevchenko wrote: > > On Fri, Apr 14, 2023 at 12:05:17PM +0000, Joy Chakraborty wrote: > > Move "dw_spi_can_dma" function implementation below > > "dw_spi_dma_convert_width" function for handing compile dependency in > > future patches. > > We refer to the functions like func(). > > ... > > > +static bool dw_spi_can_dma(struct spi_controller *master, > > + struct spi_device *spi, struct spi_transfer *x= fer) > > +{ > > + struct dw_spi *dws =3D spi_controller_get_devdata(master); > > + > > + return xfer->len > dws->fifo_len; > > +} > > > + > > + > > Single blank line is enough. Sure,I will make these changes and send V7. Will wait for some time to see if Serge(y) has any other comments on the patch series. > > -- > With Best Regards, > Andy Shevchenko > >