|
@@ -1,5 +1,6 @@
|
|
/*
|
|
/*
|
|
* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
|
|
|
|
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -265,8 +266,8 @@ static uint32_t dsc_test_psoc_trans_blocks(void)
|
|
|
|
|
|
/* ... children vdev trans/ops to fail */
|
|
/* ... children vdev trans/ops to fail */
|
|
dsc_for_each_psoc_vdev(psoc, vdev) {
|
|
dsc_for_each_psoc_vdev(psoc, vdev) {
|
|
- action_expect(vdev, trans, QDF_STATUS_E_AGAIN, errors);
|
|
|
|
- action_expect(vdev, op, QDF_STATUS_E_AGAIN, errors);
|
|
|
|
|
|
+ action_expect(vdev, trans, QDF_STATUS_E_BUSY, errors);
|
|
|
|
+ action_expect(vdev, op, QDF_STATUS_E_BUSY, errors);
|
|
}
|
|
}
|
|
|
|
|
|
/* ... while driver unload in progress vdev op and trans should be
|
|
/* ... while driver unload in progress vdev op and trans should be
|
|
@@ -303,8 +304,8 @@ static uint32_t dsc_test_psoc_trans_blocks(void)
|
|
|
|
|
|
/* ... children vdev trans/ops to fail */
|
|
/* ... children vdev trans/ops to fail */
|
|
dsc_for_each_psoc_vdev(psoc, vdev) {
|
|
dsc_for_each_psoc_vdev(psoc, vdev) {
|
|
- action_expect(vdev, trans, QDF_STATUS_E_AGAIN, errors);
|
|
|
|
- action_expect(vdev, op, QDF_STATUS_E_AGAIN, errors);
|
|
|
|
|
|
+ action_expect(vdev, trans, QDF_STATUS_E_BUSY, errors);
|
|
|
|
+ action_expect(vdev, op, QDF_STATUS_E_BUSY, errors);
|
|
}
|
|
}
|
|
|
|
|
|
/* teardown */
|
|
/* teardown */
|
|
@@ -357,8 +358,8 @@ static uint32_t dsc_test_vdev_trans_blocks(void)
|
|
|
|
|
|
/* ... the same vdev trans/ops to fail */
|
|
/* ... the same vdev trans/ops to fail */
|
|
dsc_for_each_psoc_vdev(psoc, vdev) {
|
|
dsc_for_each_psoc_vdev(psoc, vdev) {
|
|
- action_expect(vdev, trans, QDF_STATUS_E_AGAIN, errors);
|
|
|
|
- action_expect(vdev, op, QDF_STATUS_E_AGAIN, errors);
|
|
|
|
|
|
+ action_expect(vdev, trans, QDF_STATUS_E_BUSY, errors);
|
|
|
|
+ action_expect(vdev, op, QDF_STATUS_E_BUSY, errors);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|