summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-tegra20-sflash.c
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-11-09 22:07:56 +0800
committerDavid S. Miller <davem@davemloft.net>2018-11-09 16:47:35 -0800
commit6ff3cf0783e9343297ef7af2d03c42cbb664ed9b (patch)
treea6679956826fec65b320d2a52287f62edeb2a761 /drivers/spi/spi-tegra20-sflash.c
parent862d969a3a4dcd80e92fdb09d6eab2c3149eb582 (diff)
net: hns3: add PCIe FLR support for VF
This patch implements the .reset_prepare and .reset_done ops from pci framework to support the VF FLR. This patch uses hclgevf_set_def_reset_request() and hclgevf_reset_event() to handle FLR, so when hdev->default_reset_request is non zero, it means there is some reset requseted by hclgevf_set_def_reset_request() need to be processed. Also get the hdev from the ae_dev because hclgevf_reset_event is called with handle being NULL. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spi/spi-tegra20-sflash.c')
0 files changed, 0 insertions, 0 deletions