[RAMEN9610-13624] sound: core: decrease read/write timeout to 1 second
authorhayoung78.joo <hayoung78.joo@samsung.com>
Thu, 21 Mar 2019 05:17:42 +0000 (14:17 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:20 +0000 (20:23 +0300)
commit52a45b8984f6a385c044ef0dc2c25496c65015b2
treeaba2cda73d287a1061a540f8f69503f1629e52b0
parentb9e011c582ca67e6fa7524d6451d73c29fca2ce0
[RAMEN9610-13624] sound: core: decrease read/write timeout to 1 second

Read/Write timeout was 10 seconds.
But default timeout value of android audio server is 5 second.
If read/write is blocked for 10 seconds in read/write ioctl,
it exceeds the timeout of audio server.

Change-Id: Ia823419594f4a3e35ab38bc2d3103acaf99545be
Signed-off-by: hayoung78.joo <hayoung78.joo@samsung.com>
sound/core/pcm_lib.c