Skip to content
Commit 104cb574 authored by Christian Krafft's avatar Christian Krafft Committed by Jean Delvare
Browse files

i2c-pca-isa: Add access check to legacy ioports



When probing i2c-pca-isa writes to legacy ioports, which crashes the kernel
if there is no device at that port.
This patch adds a check_legacy_ioport call, so probe fails gracefully
and thus prevents the oops.

Signed-off-by: default avatarChristian Krafft <krafft@de.ibm.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 9e39ffef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment