Hi,
 
I have written a new driver for audio amplifier. 
 
I am using IMX hardware and ported android on it.
 
Druing the board boot up snd_pcm_playback_open called and it remains open 
till boot completed.
 
 
When i tries to play the music file no sound is comming.
 
Please check attached log.
 
What could be wrong?
 
-Paul

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


mtp_bind_config
init: command 'write' r=0
init: command 'setprop' r=0
init: starting 'bootanim'
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_pcm_next 
 
snd_pcm_get 
 
snd_pcm_info_user in 
 
snd_pcm_info in 
 
snd_pcm_info out 
 
snd_pcm_info_user out 
 
snd_pcm_next 
 
snd_pcm_next 
 
snd_pcm_get 
 
snd_pcm_info_user in 
 
snd_pcm_info in 
 
snd_pcm_info out 
 
snd_pcm_info_user out 
 
snd_pcm_next 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
 
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_open in 
 
snd_pcm_playback_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_pcm_open 
 
snd_pcm_open_file in 
 
snd_pcm_open_substream in 
 
snd_pcm_attach_substream 
 
snd_pcm_hw_constraints_init 
 
snd_pcm_hw_constraints_init out 
 
soc_pcm_open: in 
imx_ssi_startup:  
snd_imx_open 
 imx_hifi_startup IN 
tasb_clk_enable 
imx_hifi_startup OUT 
soc_pcm_open: out  
snd_pcm_hw_constraints_complete in 
 
snd_pcm_hw_constraints_complete out 
 
snd_pcm_open_file out 
 
snd_pcm_playback_open out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_pcm_info_user in 
 
snd_pcm_info in 
 
snd_pcm_info out 
 
snd_pcm_info_user out 
 
snd_pcm_hw_params_user in 
 
snd_pcm_hw_params in 
 
soc_pcm_hw_params: in 
imx_hifi_hw_params IN
tas_set_dai_fmt SND_SOC_DAIFMT_CBS_CFS 
 tas_set_dai_fmt SND_SOC_DAIFMT_I2S 
 tas_set_dai_fmt SND_SOC_DAIFMT_NB_NF
imx_ssi_set_dai_tdm_slot:  
imx_ssi_set_dai_fmt:  
tas_set_fll 
snd_soc_dai_set_sysclk:  
imx_hifi_hw_params OUT

 tas_hw_params tas->lrclk 44100
tasb_init audio chip reset

 tas_hw_params SNDRV_PCM_FORMAT_S16_LE
imx_ssi_hw_params:  
snd_imx_pcm_hw_params 
 
imx_ssi_dma_alloc 
 
soc_pcm_hw_params: out  
period_to_usecs 
 
snd_pcm_hw_params_user out 
 
snd_pcm_sw_params_user in 
 
snd_pcm_sw_params in 
 
snd_pcm_sw_params out 
 
snd_pcm_sw_params_user out 
 
snd_pcm_channel_info_user in 
 
snd_pcm_channel_info in 
 
snd_pcm_channel_info out 
 
snd_pcm_channel_info_user out 
 
snd_pcm_channel_info_user in 
 
snd_pcm_channel_info in 
 
snd_pcm_channel_info out 
 
snd_pcm_channel_info_user out 
 
snd_imx_pcm_mmap:  
snd_pcm_prepare in 
 
snd_pcm_action_nonatomic in 
 
snd_pcm_action_single in state 655362 
 
snd_pcm_pre_prepare 
 
snd_pcm_do_prepare 
 
soc_pcm_prepare: in Playback
snd_imx_pcm_prepare 
 
snd_soc_dapm_stream_event: in  
soc_dapm_stream_event: in  
dapm_power_widgets: in  
dapm_power_widgets: pdata SND_SOC_DAPM_STREAM_START  
dapm_pre_sequence_async: in  
dapm_pre_sequence_async: pdata SND_SOC_BIAS_STANDBY  
snd_soc_dapm_set_bias_level: in  

  tas_set_bias_level
snd_soc_dapm_set_bias_level: out  
dapm_pre_sequence_async: pdata SND_SOC_BIAS_PREPARE  
snd_soc_dapm_set_bias_level: in  

  tas_set_bias_level
snd_soc_dapm_set_bias_level: out  
dapm_pre_sequence_async: in  
dapm_pre_sequence_async: pdata SND_SOC_BIAS_STANDBY  
snd_soc_dapm_set_bias_level: in  
snd_soc_dapm_set_bias_level: out  
dapm_pre_sequence_async: pdata SND_SOC_BIAS_PREPARE  
snd_soc_dapm_set_bias_level: in  
snd_soc_dapm_set_bias_level: out  
dapm_seq_run: in  
dapm_seq_run: out  
dapm_widget_update: in  
dapm_seq_run: in  
dapm_seq_run: out  
dapm_post_sequence_async: in  
dapm_post_sequence_async: pdata SND_SOC_BIAS_ON  
snd_soc_dapm_set_bias_level: in  

  tas_set_bias_level
snd_soc_dapm_set_bias_level: out  
dapm_post_sequence_async: in  
dapm_post_sequence_async: pdata SND_SOC_BIAS_ON  
snd_soc_dapm_set_bias_level: in  
snd_soc_dapm_set_bias_level: out  
pop_dbg: in  
pop_wait: in  
pop_wait: out  
dapm_power_widgets: out  
soc_dapm_stream_event: out  
snd_soc_dapm_stream_event: out  
soc_pcm_prepare: out  
snd_pcm_do_reset 
 
snd_pcm_post_prepare 
 
snd_pcm_action_single out 0 state 655362
 
snd_pcm_action_nonatomic out 
 
snd_pcm_prepare out 
 
snd_pcm_sw_params_user in 
 
snd_pcm_sw_params in 
 
snd_pcm_sw_params out 
 
snd_pcm_sw_params_user out 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_pcm_next 
 
snd_pcm_get 
 
snd_pcm_info_user in 
 
snd_pcm_info in 
 
snd_pcm_info out 
 
snd_pcm_info_user out 
 
snd_pcm_next 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_card_file_remove in 
 
snd_card_file_remove out 
 
snd_open in 
 
snd_lookup_minor_data in 
 
snd_lookup_minor_data out 
 
snd_open out 
 
snd_pcm_drain in 
 
snd_pcm_action in 
 
snd_pcm_action_single in state 0 
 
snd_pcm_pre_drain_init in 
 
snd_pcm_pre_drain_init out 
 
snd_pcm_do_drain_init in 
 
snd_pcm_do_drain_init out 
 
snd_pcm_action_single out 0 state 0
 
snd_pcm_action out 0 
 
snd_pcm_drain out 

Reply via email to