Commit 901b656f authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] ic31712: when storing a bitmask in pointer field, use unsigned long

parent 9d0020af
......@@ -1071,7 +1071,7 @@ static int snd_vt1724_playback_indep_open(snd_pcm_substream_t *substream)
return -EBUSY; /* FIXME: should handle blocking mode properly */
}
up(&ice->open_mutex);
runtime->private_data = (void*)(1 << (substream->number + 4));
runtime->private_data = (void*)(1UL << (substream->number + 4));
ice->playback_con_substream_ds[substream->number] = substream;
runtime->hw = snd_vt1724_2ch_stereo;
snd_pcm_set_sync(substream);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment