Skip to content

Commit 63e5052

Browse files
Wan Junjiegregkh
authored andcommitted
bus: fsl-mc: fix GET/SET_TAILDROP command ids
commit c78230a upstream. Command ids for taildrop get/set can not pass the check when they are using from the restool user space utility. Correct them according to the user manual. Fixes: d67cc29 ("bus: fsl-mc: list more commands as accepted through the ioctl") Signed-off-by: Wan Junjie <[email protected]> Signed-off-by: Ioana Ciornei <[email protected]> Cc: [email protected] Reviewed-by: Ioana Ciornei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2de74c2 commit 63e5052

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/bus/fsl-mc/fsl-mc-uapi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,13 @@ static struct fsl_mc_cmd_desc fsl_mc_accepted_cmds[] = {
275275
.size = 8,
276276
},
277277
[DPSW_GET_TAILDROP] = {
278-
.cmdid_value = 0x0A80,
278+
.cmdid_value = 0x0A90,
279279
.cmdid_mask = 0xFFF0,
280280
.token = true,
281281
.size = 14,
282282
},
283283
[DPSW_SET_TAILDROP] = {
284-
.cmdid_value = 0x0A90,
284+
.cmdid_value = 0x0A80,
285285
.cmdid_mask = 0xFFF0,
286286
.token = true,
287287
.size = 24,

0 commit comments

Comments
 (0)