]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
eeprom: ee1004: Check chip before probing
authorEddie James <eajames@linux.ibm.com>
Tue, 18 Feb 2025 22:09:59 +0000 (16:09 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:13:15 +0000 (11:13 +0200)
commit3d31d6fc9ab81296284b09f4e7d19ad0eecd1853
tree96a40a23a4219d0f6f95e615d42e8a8f0ddadb6f
parent6b56cca878c2818bdc932fa0857cbbd609f9bbff
eeprom: ee1004: Check chip before probing

[ Upstream commit d9406677428e9234ea62bb2d2f5e996d1b777760 ]

Like other eeprom drivers, check if the device is really there and
functional before probing.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20250218220959.721698-1-eajames@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/misc/eeprom/ee1004.c