Skip to contentSkip to conversation

Patch "spi_ks8995: regs_size incorrect for some devices" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Dec 12, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

spi_ks8995: regs_size incorrect for some devices

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
spi_ks8995-regs_size-incorrect-for-some-devices.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Tue Dec 12 13:26:17 CET 2017

From: "Blomme, Maarten" <[email protected]>
Date: Thu, 2 Mar 2017 13:08:49 +0100
Subject: spi_ks8995: regs_size incorrect for some devices

From: "Blomme, Maarten" <[email protected]>

[ Upstream commit 239870f2a0ebf75cc8f6d987dc528c5243f93d69 ]

---
 drivers/net/phy/spi_ks8995.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/spi_ks8995.c +1 -1
@@ -491,8 +491,8 @@ static int ks8995_probe(struct spi_devic
 	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)

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/spi_ks8995-regs_size-incorrect-for-some-devices.patch queue-4.9/spi_ks8995-fix-bug-key-accdaa28-not-in-.data.patch