alsa, bluetooth: fail if user-requested profile doesn't exist
authorTanu Kaskinen <tanuk@iki.fi>
Fri, 23 Oct 2015 09:36:34 +0000 (12:36 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 28 Jun 2016 13:55:42 +0000 (16:55 +0300)
commit59e76ca9499fb3b1a6dcfb0525b93b61eb6c1de2
treef241d1ffbe427db9287c9e998845ef996b242ab4
parent87f437d0ddbf16312130f72385c901b28ba980b6
alsa, bluetooth: fail if user-requested profile doesn't exist

If we can't fulfill the user request fully, I think we shouldn't
fulfill it at all, to make it clear that the requested operation
didn't succeed.
src/modules/alsa/module-alsa-card.c
src/modules/bluetooth/module-bluez4-device.c