aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorSinan Kaya <[email protected]>2018-02-27 14:14:08 -0600
committerBjorn Helgaas <[email protected]>2018-02-27 14:14:08 -0600
commit91295d79d65892eabd02a2a75fd4ac88197d17a1 (patch)
treec114b86bcb945a168eafef9209f26ec7c17feb2b /drivers/mtd/lpddr/lpddr_cmds.c
parentcb5e0d060fb1f3136e96acecbd4001a7f0cbac94 (diff)
PCI: Handle FLR failure and allow other reset types
pci_flr_wait() and pci_af_flr() functions assume graceful return even though the device is inaccessible under error conditions. Return -ENOTTY in error cases so that __pci_reset_function_locked() can try other reset types if AF_FLR/FLR reset fails. Signed-off-by: Sinan Kaya <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions