/dev/dsp open failure

Hi,

I have developed a audio driver, the audio ic is interfaced with the TI DM365 processor MCBSP ports.

I am working with the 2.6.32 kernel.

I am able to play the audio using the aplay command.  but when i try to open the device using /dev/dsp i am getting the -ve value. it fails to open the device.

when i check the

>> ls /dev/dsp

it is available in the device directory.

I have enabled the Sound OSS related options in the kernel menuconfig. with the same options i am able to open the device for the tlv320aic3x device on DM365 leopard evm.

Could anyone please suggest where i am doing wrong? and help to solve this problem.

Thank you, Sreedhar.