lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220130125551.7fc9bcd7@jic23-huawei>
Date:   Sun, 30 Jan 2022 12:55:51 +0000
From:   Jonathan Cameron <jic23@...nel.org>
To:     Kai-Heng Feng <kai.heng.feng@...onical.com>
Cc:     eajames@...ux.ibm.com, andy.shevchenko@...il.com,
        Lars-Peter Clausen <lars@...afoo.de>,
        linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] iio: dps310: Add ACPI HID table

On Fri, 28 Jan 2022 10:31:44 +0800
Kai-Heng Feng <kai.heng.feng@...onical.com> wrote:

> x86 boards may use ACPI HID "IFX3100" for the dps310 device.
> 
> Vendor told us feel free to add the ID and contact
> "Saumitra.Chafekar@...ineon.com" for further questions.
> 
> So add an ACPI match table for that accordingly.
> 
> Reviewed-by: Andy Shevchenko <andy.shevchenko@...il.com>
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@...onical.com>

Applied to the togreg branch of iio.git and pushed out as testing
on the off chance 0-day finds something we missed.

Thanks,

Jonathan

> ---
> v3:
>  - Drop redundant line and comma.
>  - Wording change.
> 
> v2:
>  - Drop ACPI_PTR().
>  - Add info from vendor.
> 
>  drivers/iio/pressure/dps310.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/iio/pressure/dps310.c b/drivers/iio/pressure/dps310.c
> index 0730380ceb692..36fb7ae0d0a9d 100644
> --- a/drivers/iio/pressure/dps310.c
> +++ b/drivers/iio/pressure/dps310.c
> @@ -812,9 +812,16 @@ static const struct i2c_device_id dps310_id[] = {
>  };
>  MODULE_DEVICE_TABLE(i2c, dps310_id);
>  
> +static const struct acpi_device_id dps310_acpi_match[] = {
> +	{ "IFX3100" },
> +	{}
> +};
> +MODULE_DEVICE_TABLE(acpi, dps310_acpi_match);
> +
>  static struct i2c_driver dps310_driver = {
>  	.driver = {
>  		.name = DPS310_DEV_NAME,
> +		.acpi_match_table = dps310_acpi_match,
>  	},
>  	.probe = dps310_probe,
>  	.id_table = dps310_id,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ