[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <176769879989.1604677.2711861319449479575@freya>
Date: Tue, 06 Jan 2026 16:56:39 +0530
From: Jai Luthra <jai.luthra@...asonboard.com>
To: Yemike Abhilash Chandra <y-abhilashchandra@...com>, conor+dt@...nel.org, hverkuil@...all.nl, krzk+dt@...nel.org, laurent.pinchart@...asonboard.com, mchehab@...nel.org, robh@...nel.org, sakari.ailus@...ux.intel.com, tomi.valkeinen@...asonboard.com
Cc: hansg@...nel.org, mehdi.djait@...ux.intel.com, ribalda@...omium.org, git@...tzsch.eu, vladimir.zapolskiy@...aro.org, benjamin.mugnier@...s.st.com, dongcheng.yan@...el.com, u-kumar1@...com, jai.luthra@...ux.dev, linux-media@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, y-abhilashchandra@...com
Subject: Re: [PATCH V3 2/4] media: i2c: ds90ub960: Use enums for chip type and chip family
Hi Abhilash,
Thank you for the patch.
Quoting Yemike Abhilash Chandra (2025-12-19 17:59:53)
> Replace chip-specific boolean flags with chip_type and chip_family enums.
> This simplifies the process of adding support for newer devices and also
> improves code readability.
>
> Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@...com>
> ---
> Changelog:
> Changes in v3:
> - Change conditional checks to check for applicable chips over negated checks. (Tomi)
> - Keep the model name in the ub960_hw_data structure and remove the switch-case from the probe function. (Tomi)
>
> drivers/media/i2c/ds90ub960.c | 38 +++++++++++++++++++++++------------
> 1 file changed, 25 insertions(+), 13 deletions(-)
>
Reviewed-by: Jai Luthra <jai.luthra@...asonboard.com>
[...]
Powered by blists - more mailing lists