diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2023-06-02 17:17:50 +0530 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-06-23 15:05:11 -0500 |
commit | a504c965588b781f864364e897917a2c7b48ea5b (patch) | |
tree | 398699fe7d40c64a10401e65dc356cf22df86bb8 /lib/test-string_helpers.c | |
parent | 081c715dfd50542e89df5ee12a8e32e7ed936cd1 (diff) |
PCI: endpoint: Return error if EPC is started/stopped multiple times
When the EPC is started or stopped multiple times from configfs, just
return -EALREADY. There is no need to call the EPC start/stop functions
in those cases.
Link: https://lore.kernel.org/r/20230602114756.36586-4-manivannan.sadhasivam@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kishon Vijay Abraham I <kishon@kernel.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions