aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorNeil Armstrong <[email protected]>2018-11-08 07:44:48 -0500
committerMauro Carvalho Chehab <[email protected]>2018-12-03 13:26:48 -0500
commit458ffce1cb46e46e3cec48b625ed142250475708 (patch)
treeb1f5237f73c63d3b77528f0642b8abef7988a2b4 /tools/perf/scripts/python/netdev-times.py
parentbac26a63f9bff338534610232c2827b877e0b312 (diff)
media: cxd2880-spi: fix probe when dvb_attach fails
When dvb_attach fails, probe returns 0, and remove crashes afterwards. This patch sets the return value to -ENODEV when attach fails. Fixes: bd24fcddf6b8 ("media: cxd2880-spi: Add support for CXD2880 SPI interface") Signed-off-by: Neil Armstrong <[email protected]> Acked-by: Yasunari Takiguchi <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions