diff options
author | Pelle Nilsson <per.nilsson@xelmo.com> | 2015-04-14 15:40:17 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-06-28 13:39:27 -0400 |
commit | 4621614dd5115749c2b04c80f0f53861cd93590e (patch) | |
tree | 64f19feeb087586b1883bfe14ef2d13a4ca4b57a /arch/x86 | |
parent | 0fee5a3955ed36b15db56c77c0e316b9ecf8c93f (diff) |
spi: bitbang: Make setup_transfer() callback optional
[ Upstream commit 7d0ec8b6f40b356f780b79de63eeafd6b907d68c ]
Some controller drivers have no need of this callback (spi-altera even
causes a NULL pointer dereference because it doesn't register the callback,
falsely assuming that it is already optional).
Fixes: 30af9b558a56 ("spi/bitbang: Drop empty setup() functions")
Signed-off-by: Pelle Nilsson <per.nilsson@xelmo.com>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@vanguardiasur.com.ar>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions