[alsa-devel] regarding references taken on platform and codec driver modules

Harsha, Priya priya.harsha at intel.com
Mon Jan 3 09:26:31 CET 2011


>Hi,
>
>In soc-core.c, I see that try_module_get() is used to get reference count on the
>codec and platform drivers. But I don't see try_module_put() to remove the
>reference count after usage.
>
>Because of this, my reference count on codec and platform driver is never
>reduced and I am not able to do rmmod of these drivers. But I can rmmod the
>machine driver as there are no reference count taken on it.
>
>Is this intentional to avoid rmmod of these modules? Or this is to be fixed
>
Please ignore this email.
>-Harsha


More information about the Alsa-devel mailing list