[ide] it8172: incorrect return from it8172_init_one()
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Several IDE drivers return positive values as errors in the PCI setup
code. Unfortunately the PCI layer considers positive values as success
so the driver skips the device but still claims it and things then go
downhill.
This fixes the IT8172 driver.
From: Francois Romieu <romieu@fr.zoreil.com>
Use -ENODEV instead of -EAGAIN.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Showing
Please register or sign in to comment