diff options
| author | Mark Brown <broonie@kernel.org> | 2025-01-10 20:09:28 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-01-10 20:09:28 +0300 |
| commit | fd85b6b7bc53409d0be82763419bdcdaa48f2c91 (patch) | |
| tree | 797b4a5cab612431f798480ac291252e272d9df2 /include/linux | |
| parent | 89b37e49929653b7c350aac7fb2b96a052533015 (diff) | |
| parent | 226d6cb3cb799aae46d0dd19a521133997d9db11 (diff) | |
| download | linux-fd85b6b7bc53409d0be82763419bdcdaa48f2c91.tar.xz | |
spi: Add spi_mem_calc_op_duration() helper
Merge series from Miquel Raynal <miquel.raynal@bootlin.com>:
Add a spi_mem_calc_op_duration() helper
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/spi/spi-mem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/spi-mem.h b/include/linux/spi/spi-mem.h index 306c05dd1378..c4830dfaff3d 100644 --- a/include/linux/spi/spi-mem.h +++ b/include/linux/spi/spi-mem.h @@ -424,6 +424,7 @@ bool spi_mem_default_supports_op(struct spi_mem *mem, int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op); void spi_mem_adjust_op_freq(struct spi_mem *mem, struct spi_mem_op *op); +u64 spi_mem_calc_op_duration(struct spi_mem_op *op); bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op); |
