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)
commit9a23c1d6f0f5dbac4c9b73fa6cea7c9ee3d29074
tree10f539b563ed9d560ffbc5c9e9e590edb41e9173
parente35b98849f2530bb77f8fe649b3eaa1489ff9d33
ahci: fix AHCI parameters not taken into account

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