Hi Jeevaka, On 11/26/2010 08:58 AM, Jeevaka Badrappan wrote: > --- > src/call-volume.c | 9 --------- > 1 files changed, 0 insertions(+), 9 deletions(-) > > diff --git a/src/call-volume.c b/src/call-volume.c > index dd1be92..c448d32 100644 > --- a/src/call-volume.c > +++ b/src/call-volume.c > @@ -62,9 +62,6 @@ void ofono_call_volume_set_speaker_volume(struct > ofono_call_volume *cv, > > cv->speaker_volume = percent; > > - if (__ofono_atom_get_registered(cv->atom) == FALSE) > - return; > -
The idea here is that the atom driver can set the volume before it is fully registered / initialized, hence the reason for this check. The chance of this happening is small, but I think it is safe to leave it the way it was. Thoughts? Regards, -Denis _______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
