From: Alan Cox Date: Wed, 4 May 2011 09:18:42 +0000 (+0100) Subject: parport: Use request_muxed_region for IT87 probe and lock X-Git-Tag: upstream/snapshot3+hdmi~10347^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=868d1721a2200244a4555193d4adc1133cfb3978;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git parport: Use request_muxed_region for IT87 probe and lock This is needed as part of making the various IT87 drivers actually co-exist politely with each other, and with other superio devices that may be muxed on 0x2E/0x2F. It can be applied before or after the other patches by Nat Gurumoorthy without problem. Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c index a3755ff..d3c0665 100644 --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c @@ -1621,7 +1621,7 @@ static void __devinit detect_and_report_it87(void) u8 origval, r; if (verbose_probing) printk(KERN_DEBUG "IT8705 Super-IO detection, now testing port 2E ...\n"); - if (!request_region(0x2e, 2, __func__)) + if (!request_muxed_region(0x2e, 2, __func__)) return; origval = inb(0x2e); /* Save original value */ outb(0x87, 0x2e);