linux/drivers/thunderbolt
Mika Westerberg f53e767604 thunderbolt: Fail switch adding operation if reading DROM fails
All non-root switches are expected to have DROM so if the operation
fails, it might be due the user unlugging the device. There is no point
continuing adding the switch further in that case. Just bail out.

For root switches (hosts) the DROM is either retrieved from a EFI
variable, NVM or hard-coded.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Reviewed-by: Michael Jamet <michael.jamet@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-09 11:42:42 +02:00
..
cap.c thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
ctl.c thunderbolt: Allow passing NULL to tb_ctl_free() 2017-06-09 11:42:41 +02:00
ctl.h thunderbolt: Use const buffer pointer in write operations 2017-06-09 11:42:40 +02:00
domain.c thunderbolt: Introduce thunderbolt bus and connection manager 2017-06-09 11:42:41 +02:00
eeprom.c thunderbolt: Convert switch to a device 2017-06-09 11:42:42 +02:00
Kconfig thunderbolt: Compile on x86 only 2016-11-18 09:42:59 +01:00
Makefile thunderbolt: Introduce thunderbolt bus and connection manager 2017-06-09 11:42:41 +02:00
nhi_regs.h thunderbolt: Add MSI-X support 2017-06-09 11:42:41 +02:00
nhi.c thunderbolt: Introduce thunderbolt bus and connection manager 2017-06-09 11:42:41 +02:00
nhi.h thunderbolt: Add MSI-X support 2017-06-09 11:42:41 +02:00
path.c thunderbolt: Clear hops before overwriting 2014-08-26 14:54:48 -07:00
switch.c thunderbolt: Fail switch adding operation if reading DROM fails 2017-06-09 11:42:42 +02:00
tb_regs.h thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
tb.c thunderbolt: Convert switch to a device 2017-06-09 11:42:42 +02:00
tb.h thunderbolt: Convert switch to a device 2017-06-09 11:42:42 +02:00
tunnel_pci.c thunderbolt: Introduce thunderbolt bus and connection manager 2017-06-09 11:42:41 +02:00
tunnel_pci.h thunderbolt: Add support for simple pci tunnels 2014-06-19 14:07:47 -07:00