diff options
Diffstat (limited to 'configfs.c')
-rw-r--r-- | configfs.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -47,12 +47,7 @@ static ssize_t cfg_snd_avirt_stream_map_store(struct config_item *item, snd_avirt_stream_from_config_item(item); split = strsep((char **)&page, "\n"); - memcpy(stream->map, (char *)split, count); - - /* Create the PCM device now */ - stream->pcm = snd_avirt_pcm_create(stream); - if (IS_ERROR_NULL(stream->pcm)) - return 0; + snd_avirt_stream_set_map(stream, split); return count; } |