commit | 003d9ea059bf4a3b484ec1b8addfa7e2bfeabf8e | [log] [tgz] |
---|---|---|
author | Garmond Leung <garmondl@codeaurora.org> | Tue Aug 14 17:05:08 2018 -0700 |
committer | Garmond Leung <garmondl@codeaurora.org> | Fri Aug 17 16:10:55 2018 -0700 |
tree | 0c58d550a3f5de4dbb083abbbd1a5e4295fc3567 | |
parent | 6ad124563d2d8c01f6822a1c5b2291fbd5233809 [diff] |
usb: update altset function to pick proper settings for AFE Target sample rate was not taken into consideration previously as the default sample rate was returned. Updating helper function to use the desired sample rate. Modify macro to look for best match instead of max value for bitwidth / channels. Change-Id: Ifb32a0fd869b911f6cb0790508372f3e7319dc48 CRs-Fixed: 2294095