ahci: fix AHCI parameters not taken into account
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Mon, 3 Nov 2014 08:56:11 +0000 (09:56 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 4 Nov 2014 17:56:25 +0000 (12:56 -0500)
Changes into the AHCI subsystem have introduced a bug by not taking into
account the force_port_map and mask_port_map parameters when using the
ahci_pci_save_initial_config function. This commit fixes it by setting
the internal parameters of the ahci_port_priv structure.

Fixes: 725c7b570fda

Reported-and-tested-by: Zlatko Calusic <zcalusic@bitsync.net>
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
drivers/ata/ahci.c

Simple merge