Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1134919rwb; Wed, 28 Sep 2022 13:47:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7mrFf3xVgcg7Az/xG95tryXWOsJjmrwF4aM+KdMvKI+eesViC1Lz8LdJR+HNom1+i3FdLr X-Received: by 2002:a17:906:11d:b0:712:abf:3210 with SMTP id 29-20020a170906011d00b007120abf3210mr29217447eje.292.1664398067789; Wed, 28 Sep 2022 13:47:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664398067; cv=none; d=google.com; s=arc-20160816; b=j/AZewmeBHb+bLXJ+euVD71l6A6Eh33X+73qKi8qbbwCFAFO+gOcuQS/N0aIE58+zN N/qgqBbCbsl6+8Ha+9sspA8PHl2tdqkCKhhdUkM8mWL5Cpy+YfvvDLYUTlsvsemLlSqY c3LZqHGT7lyVfi+DrWNz/DCsxPQMCF2wkgkwU+9XUh3CiUle/aHq97WRy8ztLgHvm9o1 ig2vh7h+TSmCbB1hSnsElW/OOenzWOC2PDl1suS4/wctuYzm+AHoL9m5PobkQiRdqIsy n0v1wGvktsB+GJttPWGQeJvopez2S/fefNCY7QNC46JAPynpxq65U/AvE+f4ryEvOUjZ A5Cw== 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:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=L4wI/Iy/Hvy1t+mxDGgavHpOXBY/G6XJ2sDt9HOV5C4=; b=Z7NqJLt9wjYEnX41fFCE4GT+Y09KNdN3uOeO2WX+vWAut+fHirPCep6LJhPww0vLXg CvwOguhdY84jCfwRlDaUJO31A3kZ6UU+MAExRTr1AnK1dQZQzUh3ox7scZpp9rus4PKM EYXVqcpAxZBYNEILSuU/+L75ddQyP28Thtg5I+deeqYU+Vo5ZRLzE/Ll3TuIWcYOnHoT iumKSgqt34ki5+AAN1P9SHiIBVgDzDUKITfsoXOUDrlrseHszzh0qGOSY7R5sIF7Kqxz LM7FRi51Tjsmu2ARMl6oxWH2PRozZPh0Tj5xi/wQ5BcI4mMvfvds6gvXLxVKqFFrE1Vc sDCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TNXnkh+x; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fk6-20020a056402398600b00457594320f5si6258206edb.107.2022.09.28.13.47.22; Wed, 28 Sep 2022 13:47:47 -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=@kernel.org header.s=k20201202 header.b=TNXnkh+x; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233190AbiI1Tli (ORCPT + 99 others); Wed, 28 Sep 2022 15:41:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230340AbiI1Tlf (ORCPT ); Wed, 28 Sep 2022 15:41:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C98DC6CF72; Wed, 28 Sep 2022 12:41:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6817861FA2; Wed, 28 Sep 2022 19:41:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 514D7C433C1; Wed, 28 Sep 2022 19:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664394092; bh=L4wI/Iy/Hvy1t+mxDGgavHpOXBY/G6XJ2sDt9HOV5C4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TNXnkh+xvtBRP0FGyVrF+6QJFYr4PhrbUtWevAm51PhB/TczXKbvkctqdor4kleWi IZ7O8eHZQkvHI27VASX8ey+amepdoi31PbLf8WjszGlxrrBqs/2dHBmB1+qU8nANsP 9ROm1vxFD0M05nbbzyDi0XTwlnuiR23CCuL735FbW+2wVN4hCbsNH8OFXB1MItis5O ybNXutXTzndrREknPNGnD+8Bqiep+fEXLElHiu9p3M3qj1uQ2hWxG2CNQKYb92yuug p36JQT7mS55PbGbjFESaSxUD/xnsnwBy3/N6EYSxe6PiDfyc4K2QrG89Zkm43f3o4c nh3gLRyLcRdoQ== Date: Wed, 28 Sep 2022 21:41:29 +0200 From: Wolfram Sang To: Quan Nguyen Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Open Source Submission , Phong Vo , Thang Nguyen Subject: Re: [PATCH] docs: i2c: slave-interface: return errno when handle I2C_SLAVE_WRITE_REQUESTED Message-ID: Mail-Followup-To: Wolfram Sang , Quan Nguyen , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Open Source Submission , Phong Vo , Thang Nguyen References: <20220915035440.2862532-1-quan@os.amperecomputing.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="o0g4JCU6qqmLJtFX" Content-Disposition: inline In-Reply-To: <20220915035440.2862532-1-quan@os.amperecomputing.com> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 --o0g4JCU6qqmLJtFX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 15, 2022 at 10:54:40AM +0700, Quan Nguyen wrote: > In case backend is not ready, ie: fail to wakeup or initialization, on > the returning of the I2C_SLAVE_WRITE_REQUESTED event, bus driver should > aware the backend status and might auto sending NACK on the next > incoming bytes for I2C master to retry. >=20 > Signed-off-by: Quan Nguyen > Links:https://lore.kernel.org/linux-arm-kernel/556fa9e1-c54b-8370-4de7-c2= d3ec7d6906@os.amperecomputing.com/ Sorry for the delay. I made some wording more precise and applied it to for-next. So, we can use it right for next merge window, if needed. Thank you for suggesting this and for your patience! --o0g4JCU6qqmLJtFX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmM0o2kACgkQFA3kzBSg KbY+mA/9Gq0SHrWiB960zD9EjwY3wrcum5yFzEgTnsKuHuDtalMvKog4bPY+JhfS W2MPyYrx889UuKZnoFtYlE0DHL/PLsuNw/g747xdszBxmmr5pjUY3GbAdlex7nuc 70BkWOy6Znk4j1h9/cX5bTILGiVgU7/uZvW55ysXJ24N4rcvVQ80lOp5zktOYTqH joF4cqZfgZ8jfAQstyox//TpnpZEEQ3utYrZwcLNjtiXXYPZhm92UFMIYIY8w4XF YhThuEnn0uivW4z+mdLkvlyg5wc3kuTMiwjUSv0up7YVTnuKs32GbK1ucS9XL4Xt eVf8PemU2vHmnR2r/QE8Efc/vBoCz1wHUaTBGnn2t0+BznG/N0KqNA/r6q3T5CMn q5CQKlSaNQJ55Ssa9PNeu6I67uC6aA/pNAOLkdI3bk17CydIRuO9znm41NoF4Rjn eIbzuKMYi3Xfa0QcsZTePk3Pvvusz95TA+vykRL2n4nrcrse15ks214gaDd9ZNCI R4tKzPoSZfG8Ob9XzxjIZRv6wtL29L4gcdEmzcdLnfdOi6yM9NqxcUInZllF27Mp TYhQQTyXpZb/nhXPLV4Nho2KOfeu9XbNPa4ttWHWh5aM/Lg7C6YyuwbFO0Pi0FZD daqIvCxRgqNW51ziUBO8TqJmxw+RL6p9qTy69xgavaEfc5gbB2o= =yx0h -----END PGP SIGNATURE----- --o0g4JCU6qqmLJtFX--