summaryrefslogtreecommitdiff
path: root/tools/testing/ktest/compare-ktest-sample.pl
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-02-06 17:26:30 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-07 11:44:12 -0500
commit8d1fb01df8f64af14c833805dcbd05bf4582e028 (patch)
treedbf16a8882eb9d318420f16553160fb7e8770c55 /tools/testing/ktest/compare-ktest-sample.pl
parentbb4005bae3dab0dd21b239b1da193053151c07ba (diff)
mlxsw: add psample dependency for spectrum
When PSAMPLE is a loadable module, spectrum must not be built-in: drivers/net/built-in.o: In function `mlxsw_sp_rx_listener_sample_func': spectrum.c:(.text+0xe357e): undefined reference to `psample_sample_packet' This adds a Kconfig dependency to enforce usable configurations. Fixes: 98d0f7b9acda ("mlxsw: spectrum: Add packet sample offloading support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Yotam Gigi <yotamg@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/ktest/compare-ktest-sample.pl')
0 files changed, 0 insertions, 0 deletions
't know if this may cause race conditions. Similarly `pch->cyclic' is written by `pl330_alloc_chan_resources' under `pl330->lock' but read by `pl330_tx_submit' under `pch->lock'. Second, I have removed locking from `pl330_request_channel' and `pl330_release_channel' functions. Function `pl330_request_channel' is only called from `pl330_alloc_chan_resources', so the lock is already held. Function `pl330_release_channel' is called from `pl330_free_chan_resources', which already holds the lock, and from `pl330_del'. Function `pl330_del' is called in an error path of `pl330_probe' and at the end of `pl330_remove', but I assume that there cannot be concurrent accesses to the protected data at those points. Signed-off-by: Iago Abal <mail@iagoabal.eu> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'sound/soc/atmel/atmel-pcm-pdc.c')