Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2005859lqz; Tue, 2 Apr 2024 04:44:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXyVxo3b8lM02XYHefo/hlL2ZuCWejJjNUPwjQLYDcny6ebQcvcZ04NS6FhY2C+KwKdhJJuyktE76xqs0Ns77uLHizqCr7Rkgmh2qQ9Fw== X-Google-Smtp-Source: AGHT+IHjr8zYpG7pNZj8l5PuT3xZOO/a87uFQQduHCQOOz2zX0x/fAk/DxKm9ofBme53kAyrEx1c X-Received: by 2002:a05:6358:e484:b0:183:bd0c:d2c6 with SMTP id by4-20020a056358e48400b00183bd0cd2c6mr4522077rwb.11.1712058263953; Tue, 02 Apr 2024 04:44:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712058263; cv=pass; d=google.com; s=arc-20160816; b=nbu+K2scc3DGcJzjpbutEW6MpXcpAQQe6Yn60jA7QjiD608fnWAa9BCq7QMjnCjlho U1eEwGsVUZ1q1NjclJKf7aTrwzxZBBy712umNiyXRG6ZPBzZRaGBy0tSXJC/uCktqq5K hWLBbvmWf9ddTSGYXp884R9HJAxNIO/uEkcH3MnV26sC9R+JQ3A3EJCUumD9e/eZOU90 ay93qIBRyP1rvJTBFMlv43/StyvX84qQpQteqoaMdBfkXOa4PA9cLE7aSHCmQ4y8XcoQ /hJLpozZetYGpXdUC+XWVpQjJveNGT62xF5uQyeVXYcjMyrD3v1msHVEpblHmlhBsCbW h7ag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=FXSimKNEDF9TDHj2e7uB69oP261aG/+4o76R5CJVdOc=; fh=OPhKOKIgvRPKeTew+K4DLcuEdGpYhfXpedhNqikJhtw=; b=oSUQL5YAbEKorciaBjdSvOB48AtWlUVLcb+eUZ/uIWE2cbxr/AFd+/Yq8y0lfXYyok 5w+HEEg775qsTKJ0UTy5bnkLvcwVaLXltBU9LOyodbN+UeYkKJaw5FxmTuPg9+6PCrm1 tcRzcSnNtP3AdAa57Ye5gy+mnJAxcGLp6JBDp1MusCTxw5BowdvPxr2b4x5vuwcglx/M bvyceoqzU3XDNMtuRji6p4p1s0ekITOROF3xq/MRtX4Y7jA6NZe7eLNas0wfiADaHZzN LPbg35CdDIWUWQ7cE9x6mP4ofhZ+srGIFVJsYDCZi3t9hwTR/d+AVJ20XKVJnB2JUimD ckig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fyOFvxxJ; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-127875-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127875-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k10-20020a633d0a000000b005dbcff42ee2si10929961pga.536.2024.04.02.04.44.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 04:44:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127875-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fyOFvxxJ; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-127875-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127875-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BEF1C2844F1 for ; Tue, 2 Apr 2024 11:43:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 41F396996A; Tue, 2 Apr 2024 11:43:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fyOFvxxJ" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9775569945 for ; Tue, 2 Apr 2024 11:43:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712058220; cv=none; b=jvg4HASP8R5lR7V0MoNRInUrswjJJyDT2pjyyyQ0kByV8LWAx2ZvY+bIW+Lt9RxFBUCJPzfSjCWDzYA5tGf3obYjNXKet3xJWE//tqcFXN4H+LP2T+EEWeXj2o3kWGbG3I/+qPsZzZLNoVeeNa7Z0hF7BAun5ukVg/99lKFiWfc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712058220; c=relaxed/simple; bh=iMkAhuUU/al48UoHiTw/+mu5bf4d6o5qpZtlV4r74p8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gvZBYe97CL9nHgLU0TTApITjRu1aD77qYrL+9zhhVXHacqJS7SM60MwiFt1PZMHEYoi+d6MLICDV+jgI/YNikvvAOWxS0LO1Wy6OKiC2XCqEcyOErhzxPbw+iUFqiVNLYsLS1Yp7MG0U/mpYM3/2cZomSpadN1mbPUgdg7x3MSs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=fyOFvxxJ; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712058217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FXSimKNEDF9TDHj2e7uB69oP261aG/+4o76R5CJVdOc=; b=fyOFvxxJHsE5yWqDj6PXLFekjpE2zrFcbnOEjnGicr7gJNXfkDP9zv9ymuQ6v/FoktuM/V 2v/EaP/CGlaAZevdAPTWnbxcUsfr8W1F5+Ql9xgMVn8Ew9kxcnjU4pbRDeQAZ5OMQijV9G 8hln6wVqtQH70VcimawFC2WjUAmIVF8= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-130-66v79HtHPsWscHctlbhCbQ-1; Tue, 02 Apr 2024 07:43:35 -0400 X-MC-Unique: 66v79HtHPsWscHctlbhCbQ-1 Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-56c25ebc347so1680994a12.1 for ; Tue, 02 Apr 2024 04:43:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712058214; x=1712663014; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FXSimKNEDF9TDHj2e7uB69oP261aG/+4o76R5CJVdOc=; b=ccLpSvOeFKJCu1ilK7qHiwc4sSdIf7P607FozgcNxLCQB5j7Pv+V9/Af2xvZadSzEU Po2DiPzV5fzHr9FZhc0VcdgQ4xRPKLcA2PAVtLwLj+bR3GjSS3KgKpGbzcj83Uo/1zjW w1OXvSIWZcvVGkM5UrBMSd0m9pDBPuOqMDSwCQ9wBXAfhXB7d3Un+ZzyFxRLyLViJFwH 2pe2d668nFUEGNX/VASEqV6+4OfvoaDQ5iG7eVBkrgl4NMZqFOTLUKN4cC3WqSgUIzTJ WWZl6JVfLg+lOsyTIQvxjP/kJAReVWTyyBxSqsXMB7RMA0xgE46rLj6Bk4Z18pXX8bNI ZhlQ== X-Forwarded-Encrypted: i=1; AJvYcCXBJDKJcaazGGD3i/U5MgRNtL8wPcdseTkflayKHMvHDD3wbBluk77oamqdFfoj04rYiJY56XQc+wXnMYXGiTl5O5zI6SH28QgxeiJN X-Gm-Message-State: AOJu0Yy5wx5cwj9zy9BJDjCSTh3+zOFxHHg9qd7D8+OMlTet5ZYk4efe AsvgCTbeKUDOKJRQUdgIZ/WPuzhhlRPlaBsZgZ+ObHBzfEptqAjtg0rWUSapQmRXii7JKurS06w 3/XFFMxKyqa8GHOzuLLqVuv5jci4Y/g2rHMnEiSTMVHlzl8WG9ZGGUI4MrfdQ8A== X-Received: by 2002:a50:cd02:0:b0:56d:c721:d0b2 with SMTP id z2-20020a50cd02000000b0056dc721d0b2mr6216169edi.33.1712058214678; Tue, 02 Apr 2024 04:43:34 -0700 (PDT) X-Received: by 2002:a50:cd02:0:b0:56d:c721:d0b2 with SMTP id z2-20020a50cd02000000b0056dc721d0b2mr6216154edi.33.1712058214422; Tue, 02 Apr 2024 04:43:34 -0700 (PDT) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id k7-20020aa7c047000000b0056c443ce781sm6662979edo.85.2024.04.02.04.43.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Apr 2024 04:43:34 -0700 (PDT) Message-ID: Date: Tue, 2 Apr 2024 13:43:33 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] HID: i2c-hid: Revert to await reset ACK before reading report descriptor Content-Language: en-US, nl To: Kenny Levinsen , Jiri Kosina , Benjamin Tissoires Cc: Douglas Anderson , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240331182440.14477-1-kl@kl.wtf> <391c60a4-b86f-48e4-ba64-abdcb79d71ef@redhat.com> From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 4/2/24 1:30 PM, Kenny Levinsen wrote: > On 4/2/24 1:06 PM, Hans de Goede wrote: >> One small remark comment below. In the hope of getting this merged >> soon I'll prepare a v3 addressing this myself (keeping you as the author). > > > A-OK from my side, the abort_reset label is indeed redundant now. > > (The split between start and finish is also technically redundant when we always finish after start, but I wanted to keep the change minimal.) Right actually for undoing the moving of the finish-reset you could also have done a straight forward revert: git revert af93a167eda9 My v3 is pretty close to this, but not exactly a full revert since I kept your minimal approach. Undoing the split however does not cleanly revert. Regards, Hans