| .. | .. |
|---|
| 100 | 100 | if (!err) { |
|---|
| 101 | 101 | kbase_csf_scheduler_pm_active(kbdev); |
|---|
| 102 | 102 | |
|---|
| 103 | | - err = kbase_pm_wait_for_desired_state(kbdev); |
|---|
| 103 | + err = kbase_csf_scheduler_wait_mcu_active(kbdev); |
|---|
| 104 | 104 | if (!err) |
|---|
| 105 | 105 | err = kbase_csf_firmware_set_timeout(kbdev, timeout); |
|---|
| 106 | 106 | |
|---|
| .. | .. |
|---|
| 139 | 139 | |
|---|
| 140 | 140 | } |
|---|
| 141 | 141 | |
|---|
| 142 | | -static DEVICE_ATTR(progress_timeout, 0644, progress_timeout_show, |
|---|
| 143 | | - progress_timeout_store); |
|---|
| 142 | +static DEVICE_ATTR_RW(progress_timeout); |
|---|
| 144 | 143 | |
|---|
| 145 | 144 | int kbase_csf_timeout_init(struct kbase_device *const kbdev) |
|---|
| 146 | 145 | { |
|---|