Skip to content

Commit 84653dc

Browse files
Wan Junjiesmb49
authored andcommitted
bus: fsl-mc: fix GET/SET_TAILDROP command ids
BugLink: https://bugs.launchpad.net/bugs/2120812 commit c78230ad34f82c6c0e0e986865073aeeef1f5d30 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 <junjie.wan@inceptio.ai> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Cc: stable@vger.kernel.org Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com> Link: https://lore.kernel.org/r/20250408105814.2837951-4-ioana.ciornei@nxp.com Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Noah Wager <noah.wager@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
1 parent d59bd83 commit 84653dc

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)