|
@@ -2716,8 +2716,11 @@ static int __response_handler(struct msm_vidc_core *core)
|
|
|
{
|
|
|
int rc = 0;
|
|
|
|
|
|
- if (call_venus_op(core, watchdog, core, core->intr_status))
|
|
|
- return handle_system_error(core, NULL);
|
|
|
+ if (call_venus_op(core, watchdog, core, core->intr_status)) {
|
|
|
+ struct hfi_packet pkt = {.type = HFI_SYS_ERROR_WD_TIMEOUT};
|
|
|
+
|
|
|
+ return handle_system_error(core, &pkt);
|
|
|
+ }
|
|
|
|
|
|
memset(core->response_packet, 0, core->packet_size);
|
|
|
while (!__iface_msgq_read(core, core->response_packet)) {
|