Changeset 94694a4 in mainline for uspace/drv/audio/sb16/sb16.c
- Timestamp:
- 2012-07-09T08:17:13Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 346643c
- Parents:
- ce047249
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/sb16.c
rce047249 r94694a4 112 112 ddf_log_error("Failed to initialize SB DSP: %s.", 113 113 str_error(ret)); 114 ddf_fun_destroy(dsp_fun); 114 115 return ret; 115 116 } … … 122 123 if (ret != EOK) { 123 124 ddf_log_error( 124 "Failed to bind DSP function: %s.", str_error(ret)); 125 dsp_fun->driver_data = NULL; 125 "Failed to bind PCM function: %s.", str_error(ret)); 126 dsp_fun->driver_data = NULL; 127 ddf_fun_destroy(dsp_fun); 128 return ret; 129 } 130 131 ret = ddf_fun_add_to_category(dsp_fun, "audio-pcm"); 132 if (ret != EOK) { 133 ddf_log_error("Failed register PCM function in category: %s.", 134 str_error(ret)); 135 dsp_fun->driver_data = NULL; 136 ddf_fun_unbind(dsp_fun); 126 137 ddf_fun_destroy(dsp_fun); 127 138 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.