Re: [PATCH 0/4] ASoC:: don't use snd_soc_rtdcom_lookup()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ranjani

> I am having a hard time visualizing a scenario where we would have more
> than one platform component. And even if we did, I'd think that the
> driver registering these components would make sure to not duplicate
> the driver names. Of course, we dont really check if thats really the
> case. 
> Do you think it makes sense to add that check when registering a
> component? If we do that, then keeping snd_soc_rtdcom_lookup() might
> not be such a bad idea. 

If noone uses lookup function, having same name component itself
is not a problem.

If component driver handles different component naming, and user-driver
can knows it somehow, using lookup function is not a problem either.
But, I think "how to specific the component name" from user-driver
is difficult.
Thus, this patch-set try to avoid it by adding small feature
even though under such situation.

So, keeping lookup function itself is possible.

Thank you for your help !!

Best regards
---
Kuninori Morimoto



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux