Backport a patch from upstream kernel 6.17-rc4 which fixes a
regression introduced in the latest stable kernel versions.
This is already in the Linus stable queues for the next minor
kernel updates.
Reported-by: Goetz Goerisch <ggoerisch@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>