--- zzzz-none-000/linux-5.15.111/drivers/scsi/scsi_lib.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/drivers/scsi/scsi_lib.c 2024-02-07 10:23:19.000000000 +0000 @@ -673,8 +673,14 @@ /* Detected disc change. Set a bit * and quietly refuse further access. */ +/* == 20171005 AVM/VGJ - Some devices need a retry after resume == */ +#if CONFIG_AVM_USB_PM + action = ACTION_DELAYED_RETRY; + printk(KERN_INFO "%s(): possible media change detected - retry\n", __func__); +#else cmd->device->changed = 1; action = ACTION_FAIL; +#endif } else { /* Must have been a power glitch, or a * bus reset. Could not have been a