Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 90e613f9 authored by Sharad Sangle's avatar Sharad Sangle Committed by Gerrit - the friendly Code Review server
Browse files

hal: handle EINRESET error on pcm_open

Watchdog is hitting due to excessive logging
in kernel space, while SSR/PDR stress test.

Framework try to call pcm_open or compress_open
until the sound card offline event is received in
case of SSR/PDR, there is a window between actual
SSR/PDR and the offline event and this window at
times gets bigger due to excessive logging in
driver space, due to excessive logging offline event
get delayed, and during this window if framework
try to call pcm_open or compress_open multiple times
then there is excessive logging in driver layer
leading to watchdog hit .

In case of SSR\PDR, pcm_open will result in
error with return type EINRESET. As a workaround,
handle error EINRESET return type in hal when
pcm_open or compress_open is called to avoid
excessive logging in driver layer.

CRs-fixed: 2223369
Change-Id: Icc18b5a343cedc1ead004e06e22261850a7bda33
parent 17bad40b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment