nvme: fix for big endian systems
authorDavid Lamparter <equinox@diac24.net>
Thu, 6 May 2021 18:24:30 +0000 (20:24 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 23 Jun 2021 09:21:14 +0000 (17:21 +0800)
commitb12f62374e83675bc65174c2b4b7e3c6c368aa78
tree3d47658fbf7d618fe4432dc710bed1192068ea63
parent6fbe06a6ce734b08ba723cc8acde0fded744b686
nvme: fix for big endian systems

writel() and co. already include the endian swap;  doing the swap twice
is, er, unhelpful.

Tested on a P4080DS, which boots perfectly fine off NVMe with this.

Signed-off-by: David Lamparter <equinox@diac24.net>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/nvme/nvme.c