Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4250937rdh; Tue, 28 Nov 2023 16:47:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxn0Z1hRwZDbz9afjg8EBggnFkNtk63DP9WB6vwHDtzViwDPYcYHXrXRMWkBo1te49FnAU X-Received: by 2002:a05:6a00:244e:b0:6cd:cd77:afae with SMTP id d14-20020a056a00244e00b006cdcd77afaemr1920162pfj.3.1701218864725; Tue, 28 Nov 2023 16:47:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701218864; cv=none; d=google.com; s=arc-20160816; b=JgF9DPxWqNvvaTjEjZFoA7Y/Wzj6TgGg8ylve1oOX7p8D5qqbmgFJ0puxGElGIZpIN ObuyYNQAtaSjn//MqFalQiY/trCCE4ZUPODQQXKAkMMwnCeMVh4n7dqFJ2Tv8XzuxkGR uFm0wM/XbFRKX+Cce4tOiJwAC/xVklDWD0pL5NkkHwftk6Ca3CtM5IIUOZpjJFqCpyie UOiEQNV6PpBp7E2/x2XrIztYnjf9TosvhvEM+vMBI9siWOqMXyuz/cnR2l27zBIMKcZc M9760nfiSTFJytzDgqQeKsCwMOM3j65mrwOFBTmI/yaRaaNLROTF4RTy8g3SM53edvnX 0JDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AfvTNDHuZ7efYxGQld312J9+0HXTVx9hLrbfqO2zaU4=; fh=1E9pUnf9onxOkag6SG0F9GR5Y0G/iE6zwKLrM1uu5Qo=; b=ahEMl7BM39Nn9o9Hea9bTRMO9mxYJSyunVXogs45YVQSoL9jJmZRVGAzRapaLtOn63 Dpfj/cAkKGiqhqyWiSSmhOYGOL4jJUP8rRUWIDl/Ldnd59C+S+aYXoOwR+AMiEWn4Mkt 5HG44f8nNuOGuryjZIqoD6ZJXrqsJxWQKKqlcRm1nM3tJPrZhm6DPae6ijyhA7hHrdfR m/WkqkogS7XSRz/DIifGWyebu6p26pxK74w+8PF7P3NOxiG+eTkZefksgZg0/MriNbyM vFzlOovqIZJZSg+fu23leGLrBOvTutjv6vbS1Y09a1VMc/lMmnaBWsXrRKAhxM8Pltk9 tK/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cz0qJS7Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v6-20020a63f206000000b005b8f19be073si13026387pgh.416.2023.11.28.16.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 16:47:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cz0qJS7Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 1ADF582072D2; Tue, 28 Nov 2023 16:47:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230000AbjK2Ar2 (ORCPT + 99 others); Tue, 28 Nov 2023 19:47:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbjK2Ar1 (ORCPT ); Tue, 28 Nov 2023 19:47:27 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5205510C1 for ; Tue, 28 Nov 2023 16:47:34 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9ED5C433C8; Wed, 29 Nov 2023 00:47:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701218854; bh=T3oSnu23CiLc/ppZ560z8WBsWJDQuNlw2P+rkqW8w+U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cz0qJS7ZR4XDVRukpVgCtunRftXagH3R1kYCt2T0lQ5xrSdeIkbIhTfoCxX+K9lAe 4nhbqQzxM0L6DJY1m4EB8TCHcRM5VsUlabcz1iNpC9VlX3695WXcUl+hnbME1Hp55N HydCNeCBzuY44+qkWTDASdbrfp0IMeSsyO/ba2GLhnFgv5uO4R8NW/KlGzI9EnRr/w 1Ki+cd/250TMEDLc+SNJTORhoGYAm+Og7n5jJgcwr3shBJr5BovV3Sf7icxgGRdMvf D1cgjwsg5bUwCwsBS/WgPG7bpUd3NH/CR13Ks2aSCrYuscTKY03ZytgjVDlb57o+PM jqTvf68ire8Pg== Date: Wed, 29 Nov 2023 01:47:30 +0100 From: Andi Shyti To: Andy Shevchenko Cc: Mario Limonciello , Jarkko Nikula , Herbert Xu , Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Westerberg , Jan Dabros , Philipp Zabel Subject: Re: [PATCH v4 17/24] i2c: designware: Remove ->disable() callback Message-ID: <20231129004730.hjnvtku3r4dzpn5f@zenone.zhora.eu> References: <20231120144641.1660574-1-andriy.shevchenko@linux.intel.com> <20231120144641.1660574-18-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231120144641.1660574-18-andriy.shevchenko@linux.intel.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 28 Nov 2023 16:47:42 -0800 (PST) Hi Andy, On Mon, Nov 20, 2023 at 04:41:59PM +0200, Andy Shevchenko wrote: > Commit 90312351fd1e ("i2c: designware: MASTER mode as separated driver") > introduced ->disable() callback but there is no real use for it. Both > i2c-designware-master.c and i2c-designware-slave.c set it to the same > i2c_dw_disable() and scope is inside the same kernel module. > > That said, replace the callback by explicitly calling the i2c_dw_disable(). > > Signed-off-by: Andy Shevchenko Reviewed-by: Andi Shyti Thanks, Andi