]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
misc: amd-sbi: Add check to probe only SBRMI devices
authorAkshay Gupta <Akshay.Gupta@amd.com>
Wed, 18 Mar 2026 11:27:10 +0000 (16:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2026 14:17:29 +0000 (16:17 +0200)
commit82e1288701c0b746397f2a133b1f93d3d48eee23
tree03c06f36fc6b37d8ae443566b92349e9cb53ec25
parentb5e7fb39819aec09a27c89f203774ffc6b13a78d
misc: amd-sbi: Add check to probe only SBRMI devices

AMD OOB devices are differentiated by their Instance ID, with SBRMI
assigned Instance ID 1. Since the device ID match does not consider
the Instance ID, add an explicit check to restrict probing to only
the SBRMI device and exclude other OOB devices.

Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: Akshay Gupta <Akshay.Gupta@amd.com>
Link: https://patch.msgid.link/20260318112711.2757467-2-Akshay.Gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/amd-sbi/rmi-i2c.c