[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zc5mxyTjq6X_QRsQ@smile.fi.intel.com>
Date: Thu, 15 Feb 2024 21:32:23 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Serge Semin <fancer.lancer@...il.com>
Cc: Mark Brown <broonie@...nel.org>,
Alexey Malahov <Alexey.Malahov@...kalelectronics.ru>,
linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] spi: dw: Drop default number of CS setting
On Thu, Feb 15, 2024 at 09:00:48PM +0300, Serge Semin wrote:
> DW APB/AHB SSI core now supports the procedure which automatically
> determines the number of native CS. Thus there is no longer point in
> defaulting to four CS if platform doesn't specify the real number.
..
> - num_cs = 4;
Simply update the default here?
> - device_property_read_u32(&pdev->dev, "num-cs", &num_cs);
> -
> - dws->num_cs = num_cs;
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists