mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
net: pse-pd: set user byte command SUB2 field
The Set User Byte to Save command has three subject bytes. The PD692x0 protocol guides defines SUB2 with value 0x4e, while SUB1 carries the NVM user byte. Template only initialized SUB and SUB1. Fill SUB2 explicitly so the command matches the documented layout. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Acked-by: Kory Maincent <kory.maincent@bootlin.com> Link: https://patch.msgid.link/20260611102517.445549-1-robert.marko@sartura.hr Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
b85966adbf
commit
e586644d0a
|
|
@ -200,7 +200,7 @@ static const struct pd692x0_msg pd692x0_msg_template_list[PD692X0_MSG_CNT] = {
|
|||
},
|
||||
[PD692X0_MSG_SET_USER_BYTE] = {
|
||||
.key = PD692X0_KEY_PRG,
|
||||
.sub = {0x41, PD692X0_USER_BYTE},
|
||||
.sub = {0x41, PD692X0_USER_BYTE, 0x4e},
|
||||
.data = {0x4e, 0x4e, 0x4e, 0x4e,
|
||||
0x4e, 0x4e, 0x4e, 0x4e},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user