Re: [PATCH] spi: amd: Configure device speed

From: Shreeya Patel
Date: Wed Aug 17 2022 - 10:11:24 EST



On 17/08/22 19:14, Mark Brown wrote:
On Wed, Aug 17, 2022 at 06:48:09PM +0530, Shreeya Patel wrote:

Create mechanism to configure device clock frequency such
that it is the closest frequency supported by the
AMD controller.
You shouldn't use the closest, you should use a frequency which is
strictly less than the requested one - driving things too fast will
generally break but too slow is pretty much always fine.
Hi Mark,

yes, the code is actually configuring it to use the frequency which is strictly less than the requested one.
I just didn't use the correct words. I will make the change in commit message for v2 once you review the patch.


Thanks
Shreeya Patel