Skip to content

Commit 945ddf0

Browse files
krish2718dkalowsk
authored andcommitted
modules: nrf_wifi: Implement SPI deinit
Release the SPI during the deinit to put respective GPIOs in low-power state or disconnected. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 4eb7b9f commit 945ddf0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/nrf_wifi/bus/spi_if.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,7 @@ int spim_init(struct qspi_config *config)
263263

264264
int spim_deinit(void)
265265
{
266-
LOG_DBG("TODO : %s", __func__);
267-
268-
return 0;
266+
return spi_release_dt(&spi_spec);
269267
}
270268

271269
static void spim_addr_check(unsigned int addr, const void *data, unsigned int len)

0 commit comments

Comments
 (0)