All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [PATCH] spi: imx: Implement set_speed
Date: Wed, 3 Feb 2021 17:54:17 +0100	[thread overview]
Message-ID: <cb671c44-5871-fd18-b7d5-8cafbc7e09ff@denx.de> (raw)
In-Reply-To: <CAEUhbmUJXfMKOAHmpnSxPdPRXut+_uM3FMWhs-2g9j8N-4miHA@mail.gmail.com>

On 2/2/21 4:10 AM, Bin Meng wrote:
> On Thu, Jan 28, 2021 at 12:01 AM Marek Vasut <marex@denx.de> wrote:
>>
>> The set_speed() callback should configure the bus speed, make it so.
>>
>> Signed-off-by: Marek Vasut <marex@denx.de>
>> Cc: Jagan Teki <jagan@amarulasolutions.com>
>> Cc: Stefano Babic <sbabic@denx.de>
>> ---
>>   drivers/spi/mxc_spi.c | 5 ++++-
>>   1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c
>> index 553a0315df5..47100d89aef 100644
>> --- a/drivers/spi/mxc_spi.c
>> +++ b/drivers/spi/mxc_spi.c
>> @@ -661,7 +661,10 @@ static int mxc_spi_release_bus(struct udevice *dev)
>>
>>   static int mxc_spi_set_speed(struct udevice *bus, uint speed)
>>   {
>> -       /* Nothing to do */
>> +       struct mxc_spi_slave *mxcs = dev_get_platdata(bus);
> 
> This is now renamed to dev_get_plat()

Fixed in V2, thanks.

  reply	other threads:[~2021-02-03 16:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-27 16:01 [PATCH] spi: imx: Implement set_speed Marek Vasut
2021-02-02  3:10 ` Bin Meng
2021-02-03 16:54   ` Marek Vasut [this message]
2021-02-25 20:51 Marek Vasut
2021-02-25 23:41 ` Bin Meng
2021-02-26  0:14   ` Marek Vasut
2021-02-26  1:28     ` Bin Meng
2021-02-26  1:54       ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cb671c44-5871-fd18-b7d5-8cafbc7e09ff@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.