|
@@ -109,7 +109,10 @@ static inline void pld_sdio_device_crashed(struct device *dev)
|
|
{
|
|
{
|
|
cnss_common_device_crashed(dev);
|
|
cnss_common_device_crashed(dev);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+static inline bool pld_sdio_is_fw_dump_skipped(void)
|
|
|
|
+{
|
|
|
|
+ return cnss_get_restart_level() == CNSS_RESET_SUBSYS_COUPLED;
|
|
|
|
+}
|
|
#else
|
|
#else
|
|
static inline void *pld_sdio_get_virt_ramdump_mem(struct device *dev,
|
|
static inline void *pld_sdio_get_virt_ramdump_mem(struct device *dev,
|
|
unsigned long *size)
|
|
unsigned long *size)
|
|
@@ -120,6 +123,11 @@ static inline void *pld_sdio_get_virt_ramdump_mem(struct device *dev,
|
|
static inline void pld_sdio_device_crashed(struct device *dev)
|
|
static inline void pld_sdio_device_crashed(struct device *dev)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
|
|
+static inline bool pld_sdio_is_fw_dump_skipped(void)
|
|
|
|
+{
|
|
|
|
+ return false;
|
|
|
|
+}
|
|
|
|
+
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_PLD_SDIO_CNSS
|
|
#ifdef CONFIG_PLD_SDIO_CNSS
|