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

Skip to content
Commit e3afca2e authored by vivek mehta's avatar vivek mehta Committed by David Lin
Browse files

hal: fix variable initialization



- in case of failure before frame_size declaration, code will jump
  to exit label which will result in error.
- fix this by declaring variable at the beginning of the function

Bug: 37197465
Test: Non-offload PCM playback on Marlin
Change-Id: I9cf83bd34d9f777b605b8d0d44a46a0ab6be802b
Signed-off-by: default avatarDavid Lin <dtwlin@google.com>
parent 882a72dc
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