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

Commit 9d3e690b authored by Krishna Kishor Jha's avatar Krishna Kishor Jha
Browse files

asoc: fixing incorrect log messages

Updating log messages with present input vlaues.

Change-Id: Iaeb4d9ddea6032e97eab59e54f4cef2d0c72d59e
parent 01b8138d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -276,19 +276,19 @@ static int msm_pcm_soft_volume_ctl_put(struct snd_kcontrol *kcontrol,

		if ( prtd) {
			if ((ucontrol->value.integer.value[0] < 0) || (ucontrol->value.integer.value[0] > 15000)) {
				pr_err("%s : Ramp period range (0 to 15000), input value is out of range: %d",__func__,soft_params.period);
				pr_err("%s : Ramp period range (0 to 15000), input value is out of range: %d",__func__,ucontrol->value.integer.value[0]);
				goto exit;
			} else {
				soft_params.period = ucontrol->value.integer.value[0];
			}
			if ((ucontrol->value.integer.value[1] < 0) || (ucontrol->value.integer.value[1] > 15000000)) {
				pr_err("%s : Ramp step range (0 to 15000000), input value is out of range: %d",__func__,soft_params.step);
				pr_err("%s : Ramp step range (0 to 15000000), input value is out of range: %d",__func__,ucontrol->value.integer.value[1]);
				goto exit;
			} else {
				soft_params.step = ucontrol->value.integer.value[1];
			}
			if ((ucontrol->value.integer.value[2] < 0) || (ucontrol->value.integer.value[2] >= SOFT_VOLUME_CURVE_ENUM_MAX)) {
				pr_err("%s : Ramping curve range (0 to 2), input value is out of range: %d",__func__,soft_params.rampingcurve);
				pr_err("%s : Ramping curve range (0 to 2), input value is out of range: %d",__func__,ucontrol->value.integer.value[2]);
				goto exit;
			} else {
				soft_params.rampingcurve = ucontrol->value.integer.value[2];
+1 −1

File changed.

Contains only whitespace changes.