Re: [PATCH v3 4/7] drm/bridge: tc358767: Sort volatile registers according to address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 12, 2023 at 8:53 AM Alexander Stein
<alexander.stein@xxxxxxxxxxxxxxx> wrote:
>
> Sort the list by the starting address to ease adding new entries.
> No functional change intended.
>
> Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
> ---
>  drivers/gpu/drm/bridge/tc358767.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/bridge/tc358767.c b/drivers/gpu/drm/bridge/tc358767.c
> index 5c0292b71e9fa..61d8710f46293 100644
> --- a/drivers/gpu/drm/bridge/tc358767.c
> +++ b/drivers/gpu/drm/bridge/tc358767.c
> @@ -2049,13 +2049,13 @@ static bool tc_readable_reg(struct device *dev, unsigned int reg)
>  }
>
>  static const struct regmap_range tc_volatile_ranges[] = {
> +       regmap_reg_range(VFUEN0, VFUEN0),
> +       regmap_reg_range(GPIOI, GPIOI),
> +       regmap_reg_range(INTSTS_G, INTSTS_G),
>         regmap_reg_range(DP0_AUXWDATA(0), DP0_AUXSTATUS),
>         regmap_reg_range(DP0_LTSTAT, DP0_SNKLTCHGREQ),
>         regmap_reg_range(DP_PHY_CTRL, DP_PHY_CTRL),
>         regmap_reg_range(DP0_PLLCTRL, PXL_PLLCTRL),
> -       regmap_reg_range(VFUEN0, VFUEN0),
> -       regmap_reg_range(INTSTS_G, INTSTS_G),
> -       regmap_reg_range(GPIOI, GPIOI),
>  };
>
>  static const struct regmap_access_table tc_volatile_table = {
> --
> 2.34.1
>


Reviewed-by: Robert Foss <rfoss@xxxxxxxxxx>




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux