Make double-open radio tuner failure more verbose.

Bug: b/36863239
Test: manual (watching logs)
Change-Id: I032349eaa11b4a8008f09113c3898452572db219
This commit is contained in:
Tomasz Wasilczyk 2017-04-17 17:05:38 -07:00
parent 6d7ede918d
commit 12ddfd0e2a

View file

@ -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;
}