Message ID | 20241101-hpd-v3-4-e9c80b7c7164@chromium.org |
---|---|
State | Accepted |
Commit | f7a1fc1ae0d8f379b1a57b911928bf8a330bf94f |
Headers | show
Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2727515696E for <linux-input@vger.kernel.org>; Fri, 1 Nov 2024 07:46:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730447201; cv=none; b=fYQ68XqevkNvRHQ1EbdQmihMqHWDerOJxVElTE0IOdi8wAzt/uKM2mcm+4zHNnvYCypmRnYX1aJBexw3j3+5p/K3zT5WpYbv+2O/wU7rkIJ4hX240vlpWLQDTwBBcvxejdwvMhkOcpXFtVIwDgOdp+9Cd0XvtXglZHOXrZAKipE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730447201; c=relaxed/simple; bh=CUtvkf+t59QX4prslptAVYmO9B9yIfrnRI6r3hKSoAg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZMLai8mzlB3Kiq/Onnxw14sbxb4qUnhEZlEPBXFR5ngduU/tg3tucjxBBBDpoAevsLET9fwR1u7nnxQEpAr/kr9nCyXcc4+o830IgccAMT/a401XTKf0BfMbsF5JZ2lywHA8utyV0ktg1je9JXgByHUILKtcbqPm//ziSecVF/o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=mqPL/EuQ; arc=none smtp.client-ip=209.85.219.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="mqPL/EuQ" Received: by mail-qv1-f54.google.com with SMTP id 6a1803df08f44-6cbf0e6414aso10227156d6.1 for <linux-input@vger.kernel.org>; Fri, 01 Nov 2024 00:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730447198; x=1731051998; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=adgmJOhHcaFkex36EFAe1BXPWl8Ng3rQHGIFjAA8UGA=; b=mqPL/EuQrfZnUTzjIOMPZHal32m+YGMJuOywQsjfi0JoLuc9mlooedb5W6Z1oTIsg9 lVu5QKRh8j1z52tfPi3m4LjXc2MPIcKU5YheoM8kZNPigfpy3OXcJ5RxaT1U/We/oY2R g+KXU9xeezAWbEELqs5Jg1OwMcKsIMQa5Rag8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730447198; x=1731051998; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=adgmJOhHcaFkex36EFAe1BXPWl8Ng3rQHGIFjAA8UGA=; b=QJ+51XvmP1w91Il/ArUOTlyqTMJ48BpAuxOrMuyrI28IBhCYhFb6f1VG0JtBACrMP0 y4t9zZPjPmvp8NmqAaSUFSPUp8P2jG/nYDj0NTwlF8rLkVgxTZ8xMhM1GuOU9zQ9IJxl uQ5xwDWvM5QHA5XgwIHXaywMHOAnfb4HQfYqMU04tfTDsW7mYT80mPzcFlsUsmvB7BKc K1nL6cG6LwGuYTjQ8o+xkE+nk4roDXb3vvd00Grlt42dSlvNAyFKBWhH2zYtmJHwi7Jv PgMs0+oVbo4M2oYRIIoTP/FvdgAEVSM5U/Trt6B0DuCRHun9fDKQDltD4UEk7FdeDAl6 Qe7Q== X-Forwarded-Encrypted: i=1; AJvYcCXx44v3ZMSa9Y+7MmBXySJITQEnf/+hrL7MOVWh2+Mm20AK8Z0g1Omale1sXsVpB4EhKzecrqg1/nQCyg==@vger.kernel.org X-Gm-Message-State: AOJu0YwItuRR93eTMvFvgohVF822en+sXGqqhgnoDZqPKvkeTMb1rYfe KoUMUE+sFfsJ0TJpTXwQ/NCBVarUCVFuezFBxFu0gkSvAALZABGWyOHF/fAkUQ== X-Google-Smtp-Source: AGHT+IESbbksSKB95l0C8Ah+v/s+ywwV7GE+w0AJMTMGdTtVsJeriYkTZ0MfwWXgg+cncsRV1leGZQ== X-Received: by 2002:a05:6214:2f81:b0:6cb:c9bc:1a23 with SMTP id 6a1803df08f44-6d1856ea81dmr255805576d6.24.1730447197931; Fri, 01 Nov 2024 00:46:37 -0700 (PDT) Received: from denia.c.googlers.com (189.216.85.34.bc.googleusercontent.com. [34.85.216.189]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d35415b1casm16444236d6.78.2024.11.01.00.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 00:46:37 -0700 (PDT) From: Ricardo Ribalda <ribalda@chromium.org> Date: Fri, 01 Nov 2024 07:46:30 +0000 Subject: [PATCH v3 4/5] iio: hid-sensors-prox: Make proximity channel indexed Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: <linux-input.vger.kernel.org> List-Subscribe: <mailto:linux-input+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-input+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20241101-hpd-v3-4-e9c80b7c7164@chromium.org> References: <20241101-hpd-v3-0-e9c80b7c7164@chromium.org> In-Reply-To: <20241101-hpd-v3-0-e9c80b7c7164@chromium.org> To: Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <bentiss@kernel.org>, Jonathan Cameron <jic23@kernel.org>, Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>, Lars-Peter Clausen <lars@metafoo.de> Cc: Harvey Yang <chenghaoyang@google.com>, linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ricardo Ribalda <ribalda@chromium.org> X-Mailer: b4 0.13.0 |
Series |
iio: hid-sensors-prox: Add support for more channels
|
expand
|
diff --git a/drivers/iio/light/hid-sensor-prox.c b/drivers/iio/light/hid-sensor-prox.c index d38564fe22df..0f12a8a83790 100644 --- a/drivers/iio/light/hid-sensor-prox.c +++ b/drivers/iio/light/hid-sensor-prox.c @@ -40,6 +40,7 @@ static const struct iio_chan_spec prox_channels[] = { BIT(IIO_CHAN_INFO_SAMP_FREQ) | BIT(IIO_CHAN_INFO_HYSTERESIS), .scan_index = CHANNEL_SCAN_INDEX_PRESENCE, + .indexed = true, } };
We are going to introduce more proximity channels. Make proximity a indexed channel now, in a simple patch, so the change can be easily bisected if there are any issues. Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> --- drivers/iio/light/hid-sensor-prox.c | 1 + 1 file changed, 1 insertion(+)