From patchwork Fri Apr 26 22:47:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kenny Levinsen X-Patchwork-Id: 792974 Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (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 72C7138F91 for ; Fri, 26 Apr 2024 22:57:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714172278; cv=none; b=ZKjYURLri1Jrlw1UO5FZK1tYyo8H902luZP2WeeKG/W+Q9Q6lc9w75VqD/A54j+zsEIUZWlVNhUBkxf9+sIjVUpYUcwOWUHnlQf/hluKnFwX9X2KgRhftFwAuUlHWpciNolmcqEvwmV55XIQ53dggJqgPE4x7IAoVj2NMzWoc/4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714172278; c=relaxed/simple; bh=n5M6hS5g6y3ojVoJvmxqMM1bsyrtPVnjINp3YLX9H2U=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=VW/xlEKjCcreeT0cqrT6YfaWe26hJRZXFbZhxzRPMun9NVdpyyqVqfi6GS0wEtZhlft+nElXBQ8/+QjW90b0QgSniXqPt8S/fNYyFgVCQzTaZVMHwH57iqyvfj/oYfbpPlNjx6LI8KIbEIxh/5rc9k6A3Zn8y83yjHmC4Cjqs18= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=kl.wtf; spf=pass smtp.mailfrom=kl.wtf; dkim=pass (2048-bit key) header.d=kl.wtf header.i=@kl.wtf header.b=KJ8NL22f; arc=none smtp.client-ip=91.218.175.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=kl.wtf Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kl.wtf Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kl.wtf header.i=@kl.wtf header.b="KJ8NL22f" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kl.wtf; s=key1; t=1714172274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=n5M6hS5g6y3ojVoJvmxqMM1bsyrtPVnjINp3YLX9H2U=; b=KJ8NL22fEE6M3mwOxelkjA4BVjJ/3jHnBZPP/dcyoAS2c1ho05tKVZmuhcp7CC01uZHqjm 5RB7uQMTiv7+dqKgzgr//HjodurVgOM+BNkAeOr1a8fhD9BXt0SFhv1zzzju0oHNnj3jrE iLlW1hqIoleCSBUmIY8aO8eAs6AZq3wEHugwgyCWGbkI+CdzTAbA5Piyz7nKtuPzGNLfO6 6NeHMKV0bLr6pyy2tOzMfHNGCrWP5uoo3JUxQDReG2oR3ZWDmTjwDq5hrPYLUqb6csBaMc Z6WeiAQnZaSx2xC9fLENf1SjnHjzRodvbkHLiDaSRC2TbZ20ovP7YyXEZBFPUA== From: Kenny Levinsen To: Jiri Kosina , Dmitry Torokhov , Benjamin Tissoires , Douglas Anderson , Hans de Goede , Maxime Ripard , Kai-Heng Feng , Johan Hovold , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Radoslaw Biernacki , Lukasz Majczak Subject: [PATCH v3 0/3] HID: i2c-hid: Probe and wake device with HID descriptor fetch Date: Sat, 27 Apr 2024 00:47:06 +0200 Message-ID: <20240426225739.2166-1-kl@kl.wtf> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT The previous iteration of this was a bit naïve about bus error code consistency from i2c drivers. Instead of trying to differentiate between them, we now handle all bus errors during HID descriptor fetch the same with a single debug log, as suggested by Doug[0]. As the change is relatively minor, I have carried over Łukasz' Tested-by and Reviewed-by tags. Third time's the charm? [1] https://lore.kernel.org/all/CAD=FV=Xr6NsW085Sc+NhVmGDOn-zCCQ65CMNce_DsHxtXUgm9w@mail.gmail.com/