Colin Ian King b01d550663
spi: Fix self assignment issue with ancillary->mode
There is an assignment of ancillary->mode to itself which looks
dubious since the proceeding comment states that the speed and
mode is taken over from the SPI main device, indicating that
ancillary->mode should assigned using the value spi->mode.
Fix this.

Addresses-Coverity: ("Self assignment")
Fixes: 0c79378c0199 ("spi: add ancillary device support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210623172300.161484-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-06-24 19:29:57 +01:00
..
2021-06-04 15:27:11 +01:00
2021-06-03 14:05:00 +01:00
2021-04-26 16:32:11 -07:00
2020-10-08 23:00:06 +01:00
2020-07-17 16:38:47 +01:00
2021-04-21 16:07:04 +01:00
2021-04-30 12:48:14 -07:00
2020-10-24 10:33:08 -07:00
2021-05-11 15:42:47 +01:00