Make double-open radio tuner failure more verbose.
Bug: b/36863239 Test: manual (watching logs) Change-Id: I032349eaa11b4a8008f09113c3898452572db219
This commit is contained in:
parent
6d7ede918d
commit
12ddfd0e2a
1 changed files with 1 additions and 0 deletions
|
@ -660,6 +660,7 @@ static int rdev_open_tuner(const struct radio_hw_device *dev,
|
|||
pthread_mutex_lock(&rdev->lock);
|
||||
|
||||
if (rdev->tuner != NULL) {
|
||||
ALOGE("Can't open tuner twice");
|
||||
status = -ENOSYS;
|
||||
goto exit;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue