lightnvm: sectors first in ppa list
authorMatias Bjørling <m@bjorling.me>
Tue, 12 Jan 2016 06:49:26 +0000 (07:49 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 12 Jan 2016 15:21:16 +0000 (08:21 -0700)
commit556755e941837ebc4b4859dd7f74f2ed2dd00fc7
tree20f1875b226cb702144feea5adf53e9b450b03fc
parentb262924be03d5d2ae735bc9a4b37eb2c613f61f8
lightnvm: sectors first in ppa list

The Westlake controller requires that the PPA list has sectors defined
sequentially. Currently, the PPA list is created with planes first, then
sectors. Change this to sectors first, then planes.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c