Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9579e0a authored by Haynes Mathew George's avatar Haynes Mathew George Committed by Gerrit - the friendly Code Review server
Browse files

misc: qcom: qdsp6v2: Add missing initialization



Use vars in driver context after proper initialization

Change-Id: I3e59e27534b8e1088d74b42c72e0075d2fe910e6
Signed-off-by: default avatarHaynes Mathew George <hgeorge@codeaurora.org>
CRs-Fixed: 1049521, 1049615
parent 773f15cd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -601,6 +601,7 @@ long audio_in_compat_ioctl(struct file *file,
	}
	case AUDIO_GET_CONFIG_32: {
		struct msm_audio_config32 cfg_32;
		memset(&cfg_32, 0, sizeof(cfg_32));
		cfg_32.buffer_size = audio->pcm_cfg.buffer_size;
		cfg_32.buffer_count = audio->pcm_cfg.buffer_count;
		cfg_32.channel_count = audio->pcm_cfg.channel_count;