spi: sprd: adi: Add a reset reason for factory test mode
authorSherry Zong <sherry.zong@unisoc.com>
Fri, 26 Jul 2019 07:20:50 +0000 (15:20 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jul 2019 11:24:09 +0000 (12:24 +0100)
commit9d9aa1cc91d68e2140e5948c15947b8254e008e2
tree786ca127c68bf270b16b4f3b13ddd7a8ab352988
parentcc6b3431b36a1109d44cb8e4015cc68dddc75208
spi: sprd: adi: Add a reset reason for factory test mode

Add a new reset flag to indicate that the system need enter factory test
mode after restarting system.

Signed-off-by: Sherry Zong <sherry.zong@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Link: https://lore.kernel.org/r/8ae5651e876b527920ff878721a8a8ef47b099ac.1564125131.git.baolin.wang@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sprd-adi.c