Re: [PATCH v3 1/2] crypto: bfin_crc: ignore duplicated registration of the same algorithm

2014-04-16 Thread Herbert Xu
On Fri, Apr 11, 2014 at 11:33:37AM +0200, Marek Vasut wrote: On Friday, April 11, 2014 at 11:30:25 AM, Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com in case of multiple crc devices are probed. Call platform_set_drvdata() before adding new CRC device into the list.

Re: [PATCH v3 1/2] crypto: bfin_crc: ignore duplicated registration of the same algorithm

2014-04-13 Thread Sonic Zhang
Hi Herbert, Could you please review this patch? Thanks Sonic Zhang On Fri, Apr 11, 2014 at 5:33 PM, Marek Vasut ma...@denx.de wrote: On Friday, April 11, 2014 at 11:30:25 AM, Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com in case of multiple crc devices are probed. Call

[PATCH v3 1/2] crypto: bfin_crc: ignore duplicated registration of the same algorithm

2014-04-11 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com in case of multiple crc devices are probed. Call platform_set_drvdata() before adding new CRC device into the list. Signed-off-by: Sonic Zhang sonic.zh...@analog.com --- v3-change: - check list_is_singular() before register the algorithm

Re: [PATCH v3 1/2] crypto: bfin_crc: ignore duplicated registration of the same algorithm

2014-04-11 Thread Marek Vasut
On Friday, April 11, 2014 at 11:30:25 AM, Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com in case of multiple crc devices are probed. Call platform_set_drvdata() before adding new CRC device into the list. Signed-off-by: Sonic Zhang sonic.zh...@analog.com --- v3-change: -