apple-gmux: Fix port address calculation in gmux_pio_write32()
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 22 Aug 2012 02:56:49 +0000 (21:56 -0500)
committerMatthew Garrett <mjg@redhat.com>
Thu, 13 Sep 2012 20:46:29 +0000 (16:46 -0400)
commite6d9d3d59ca08fc87688c5953061b4da0d17bf15
tree6a81c8c863c2f59e25b16432695e044d93ea6177
parentc5a5052923c55990e32a3d64bdb4779b01162646
apple-gmux: Fix port address calculation in gmux_pio_write32()

This function fails to add the start address of the gmux I/O range to
the requested port address and thus writes to the wrong location.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/apple-gmux.c