Krishna Yarlagadda aa7dc954e8 spi: tegra210-quad: Fix iterator outside loop
[ Upstream commit 2449d436681d40bc63ec2c766fd51b632270d8a7 ]

Fix warn: iterator used outside loop: 'xfer'. 'xfer' variable contain
invalid value in few conditions. Complete transfer within DATA phase
in successful case and at the end for failed transfer.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link:https://lore.kernel.org/all/202210191211.46FkzKmv-lkp@intel.com/
Fixes: 8777dd9dff40 ("spi: tegra210-quad: Fix combined sequence")

Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Link: https://lore.kernel.org/r/20230227200428.45832-1-kyarlagadda@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 13:55:29 +01:00
..
2023-03-10 09:33:18 +01:00
2022-11-04 12:25:03 +00:00
2022-01-04 14:59:40 +00:00
2022-08-02 10:55:04 -07:00
2022-10-04 19:36:53 -07:00
2021-12-23 13:38:38 +00:00
2022-10-04 19:36:53 -07:00
2021-08-26 12:09:38 +01:00
2022-03-15 12:03:58 +00:00
2022-10-04 19:36:53 -07:00