]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
spi: Catch improper use of PTP system timestamping API
authorVladimir Oltean <olteanv@gmail.com>
Fri, 27 Dec 2019 01:24:44 +0000 (03:24 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 27 Dec 2019 22:58:09 +0000 (22:58 +0000)
commitf971a2074447726ec9a3feee3648a2e157f08248
tree2954c9d66f9360ce81f6da1b02f33cf9f3cf5ce9
parentf03ee2042b2dc46e3452e87324d90f147de4a944
spi: Catch improper use of PTP system timestamping API

We can catch whether the SPI controller has declared it can take care of
software timestamping transfers, but didn't. So do it.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20191227012444.1204-1-olteanv@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c