From: Maarten Blomme <maartenblomme@gmail.com>
To: f.fainelli@gmail.com
Cc: netdev@vger.kernel.org, "Blomme, Maarten" <Maarten.Blomme@flir.com>
Subject: [PATCH 2/2] spi_ks8995: regs_size incorrect for some devices
Date: Thu, 2 Mar 2017 13:08:49 +0100 [thread overview]
Message-ID: <1488456529-30128-1-git-send-email-maartenblomme@gmail.com> (raw)
From: "Blomme, Maarten" <Maarten.Blomme@flir.com>
Signed-off-by: Maarten Blomme <Maarten.Blomme@flir.com>
---
drivers/net/phy/spi_ks8995.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/spi_ks8995.c b/drivers/net/phy/spi_ks8995.c
index aa7209d..1e2d4f1 100644
--- a/drivers/net/phy/spi_ks8995.c
+++ b/drivers/net/phy/spi_ks8995.c
@@ -491,8 +491,8 @@ static int ks8995_probe(struct spi_device *spi)
if (err)
return err;
- ks->regs_attr.size = ks->chip->regs_size;
memcpy(&ks->regs_attr, &ks8995_registers_attr, sizeof(ks->regs_attr));
+ ks->regs_attr.size = ks->chip->regs_size;
err = ks8995_reset(ks);
if (err)
--
2.7.4
reply other threads:[~2017-03-02 12:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1488456529-30128-1-git-send-email-maartenblomme@gmail.com \
--to=maartenblomme@gmail.com \
--cc=Maarten.Blomme@flir.com \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).