]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libahci: save port map for forced port map
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 23 Mar 2016 16:43:36 +0000 (16:43 +0000)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 12 Apr 2016 16:46:50 +0000 (17:46 +0100)
commit7a7a55afe7ba3a582658c9ef33b1cb479f18e68e
tree074c8ce37cf99153d4c5b5fba870cf3d914c1aa4
parentd02a4a2eb7841c9a4ba77a7b9ce0c85e872e21d9
libahci: save port map for forced port map

In usecases where force_port_map is used saved_port_map is never set,
resulting in not programming the PORTS_IMPL register as part of initial
config. This patch fixes this by setting it to port_map even in case
where force_port_map is used, making it more inline with other parts of
the code.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andy Gross <andy.gross@linaro.org>
drivers/ata/libahci.c