summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2020-02-24 23:58:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-22 10:32:58 +0300
commite2c37939a79525c6db47a1590eb73882b8577752 (patch)
tree108370f54d436466c7d6f454ba8a0476cfeaf77e /include
parentf7280837df83461eafcb6f6afc96e4e5fabbb8b3 (diff)
downloadlinux-e2c37939a79525c6db47a1590eb73882b8577752.tar.xz
bus: ti-sysc: Consider non-existing registers too when matching quirks
[ Upstream commit 590e15c76f1231329d1543570a54058dba2e4ff6 ] We are currently setting -1 for non-existing sysconfig related registers for quirks, but setting -ENODEV elsewhere. And for matching the quirks, we're now just ignoring the non-existing registers. This will cause issues with misdetecting DSS registers as the hardware revision numbers can have duplicates. To avoid this, let's standardize on using -ENODEV also for the quirks instead of -1. That way we can always just test for a match without adding any more complicated logic. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions