Re: [PATCH] sound: fix incorrect use of platform_device_register()

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

 



At Sat, 21 Apr 2007 16:23:39 +0900,
Akinobu Mita wrote:
> 
> The platform_device allocated by platform_device_alloc()
> should be added to the device hierarchy by platform_device_add()
> instead of platform_device_register().
> 
> Otherwise it will hit WARN_ON() in platform_device_register().
> by illegal refcount.
> 
> This patch fixes such incorrect usages in portman2x4 and mts64 drivers.
> Also it removes unnecessary trailing whitespaces.
> 
> Cc: Jaroslav Kysela <perex@xxxxxxx>
> Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx>

Thanks, applied to ALSA tree now.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

  Powered by Linux