rme: use the 'ret' local variable correctly as a 'bool' and don't assign -1 to it...
commit855357ca30449043202009ecab2468df1ef3e194
authorjwoithe <jwoithe@2be59082-3212-0410-8809-b0798e1608f0>
Sun, 2 Feb 2014 22:30:19 +0000 (2 22:30 +0000)
committerjwoithe <jwoithe@2be59082-3212-0410-8809-b0798e1608f0>
Sun, 2 Feb 2014 22:30:19 +0000 (2 22:30 +0000)
tree444f207db57df4364898aa8486b5a7a2ff0a2bff
parentb712a1a53543a903df955d960cc9b2d977857fd3
rme: use the 'ret' local variable correctly as a 'bool' and don't assign -1 to it at all.  This will fix detection of an unavailable sample rate request.  Thanks to Andreas Hehn for spotting the problem and providing the patch.

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2477 2be59082-3212-0410-8809-b0798e1608f0
libffado/src/rme/rme_avdevice.cpp