• Bin Meng's avatar
    test: dm: spi: Fix sandbox dm_test_spi_find() · 3220bc1f
    Bin Meng authored
    Per sandbox_cs_info(), sandbox spi controller only supports chip
    select 0. Current test case tries to locate devices on chip select
    1, and any call to spi_get_bus_and_cs() or spi_cs_info() with cs
    number 1 should not return 0.
    
    This updates the test case to handle it correctly.
    Signed-off-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
    
    Series-changes: 2
    - new patch to fix sandbox dm_test_spi_find()
    3220bc1f
Name
Last commit
Last update
.github Loading commit data...
Documentation Loading commit data...
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
env Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...