> Btw I don't understand the sst_drv_ctx->streams[] array. This is used to store the runtime information related to the stream > > What is stored in streams[0]? Nothing :) its unused In this array, the index refers to stream id which starts from 1 to x. So I instead of adding stream id as field and subtracting one to get index, left [0] as unused.... > > What does MRST from MAX_NUM_STREAMS_MRST and get_mrst_stream_id() stand > for? I understand that MRST streams are SND_SST_DEVICE_HEADSET, > SND_SST_DEVICE_IHF, and SND_SST_DEVICE_VIBRA. What makes them different > from SND_SST_DEVICE_HAPTIC and SND_SST_DEVICE_CAPTURE? The driver supports two platforms, Moorestown (MRST) and Medfield (MFLD) The capabilities of each are different. In former we support 3 streams and in latter 5. The driver assigns the stream id, for mrst, just in first come first server basis. In mfld, based on type of device opened, for instance Vibra will always be stream 3 and capture 5. HTH Vinod -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html