From b17a74fb0f45c268259ba53b424004a134848d1e Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 3 Jan 2023 13:35:14 -0600 Subject: New concurrent mode patch from SiLabs and bump handle_card_ready patch --- ...0002-fix-rsi_handle_card_ready-card-ready.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes-kernel/rsi-91x/files/0002-fix-rsi_handle_card_ready-card-ready.patch (limited to 'recipes-kernel/rsi-91x/files/0002-fix-rsi_handle_card_ready-card-ready.patch') diff --git a/recipes-kernel/rsi-91x/files/0002-fix-rsi_handle_card_ready-card-ready.patch b/recipes-kernel/rsi-91x/files/0002-fix-rsi_handle_card_ready-card-ready.patch new file mode 100644 index 0000000..aeed2c9 --- /dev/null +++ b/recipes-kernel/rsi-91x/files/0002-fix-rsi_handle_card_ready-card-ready.patch @@ -0,0 +1,36 @@ +From 822df5990784ba914a1622e81b2b9ea4e079d5ea Mon Sep 17 00:00:00 2001 +From: Serhii Voloshynov +Date: Thu, 29 Dec 2022 09:36:07 +0200 +Subject: [PATCH] fix 'rsi_handle_card_ready: card ready indication in invalid + state 0.' issue + +--- +rsi_91x_hal.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/rsi_91x_hal.c b/rsi_91x_hal.c +index c3d5823..e3eeec6 100644 +--- a/rsi_91x_hal.c ++++ b/rsi_91x_hal.c +@@ -1703,6 +1703,9 @@ int rsi_hal_device_init(struct rsi_hw *adapter) + + rsi_dbg(ERR_ZONE, "%s: oper_mode = %d, coex_mode = %d\n", __func__, common->oper_mode, common->coex_mode); + ++ adapter->common_hal_fsm = COMMAN_HAL_WAIT_FOR_CARD_READY; ++ common->fsm_state = FSM_CARD_NOT_READY; ++ + switch (adapter->device_model) { + case RSI_DEV_9113: + case RSI_DEV_9116: +@@ -1714,8 +1717,6 @@ int rsi_hal_device_init(struct rsi_hw *adapter) + default: + return -EINVAL; + } +- adapter->common_hal_fsm = COMMAN_HAL_WAIT_FOR_CARD_READY; +- common->fsm_state = FSM_CARD_NOT_READY; + + #if defined(CONFIG_RSI_BT_ALONE) || defined(CONFIG_RSI_COEX_MODE) + adapter->priv->bt_fsm_state = BT_DEVICE_NOT_READY; +-- +2.25.1 + -- cgit v1.2.3