diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-02-05 19:44:40 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-03-24 15:30:20 +0200 |
commit | 38e3c58cba951ff43f8314edfd0adb8082d81f8b (patch) | |
tree | 3d071294bbed768d38cba74eb1bed52f4fa95365 /lib/intel_batchbuffer.c | |
parent | 29ebc68313a8dee9b98fac1b337f9bf60b3bfb0a (diff) |
tools/intel_iosf_sb_*: Replace if ladder with an array and bsearch()
Replace the silly strcasecmp() if ladder with and array that maps the
unit names to port numbers. And keep the thing sorted so we can do
the lookup with bsearch() for extra speed :)
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions