[PATCH v3 0/8] spi: loopback-test: improvments and sharing dump code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Martin Sperl <kernel@xxxxxxxxxxxxxxxx>

Move spi_message dump method into SPI-core and make use of
this extended version of the dumping code in loopback-test.

This requires also separation of some content verification
from the dump code itself.

Also it now handles module-parameters differently
(some renaming to make it clearer what they are for)
and adds SPI_LOOP support.

Changelog:
V1->V2: * changes recommended in review by Andy Shevchenko
        * better separation to smaller patches
	* reintroduction of check for RX guard-pattern
	  lost in V1
	* rename module parameters, variables and methods
V2->V3: only change in patch 3 as per review of Andy Shevchenko
	* kernel doc
	* use of %*ph for dumping hex
	* fixing | to ||

Martin Sperl (8):
  spi: loopback-test: write rx pattern also when running without tx_buf
  spi: loopback-test: rename method spi_test_fill_tx to
    spi_test_fill_pattern
  spi: core: add spi_message_dump and spi_transfer_dump
  spi: loopback-test: move to use spi_message_dump_data
  spi: loopback-test: spi_check_rx_ranges can get always done
  spi: loopback-test: improve granularity of dump_messages module
    parameter
  spi: loopback-test: change module parameter name to
    have_external_loopback
  spi: loopback-test: added support for HW-loopback mode

 drivers/spi/spi-loopback-test.c |  217 +++++++++++++++++++++------------------
 drivers/spi/spi.c               |  171 ++++++++++++++++++++++++++++++
 include/linux/spi/spi.h         |   24 +++++
 3 files changed, 311 insertions(+), 101 deletions(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux