Re: [PATCH 1/2] NFC: st95hf: initialize semaphore and mutex earlier

2018-06-03 Thread Samuel Ortiz
Hi Daniel, On Mon, May 28, 2018 at 09:39:01PM +0200, Daniel Mack wrote: > On Monday, May 28, 2018 04:50 PM, Samuel Ortiz wrote: > > Hi Daniel, > > > > On Mon, May 28, 2018 at 04:35:15PM +0200, Daniel Mack wrote: > > > On Wednesday, May 16, 2018 03:32 PM, Daniel Mack wrote: > > > > 'rm_lock' and

[PATCH 2/4] staging: wilc1000: use list_head to maintain 'rxq_entry_t elements in rx queue

2018-06-03 Thread Ajay Singh
Make use of 'list_head' data structure to maintain the rx buffer queue. Modified wilc_wlan_rxq_add() to add the element at the tail by using list_head API and wilc_wlan_rxq_remove() to remove the element from head. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/linux_wlan.c | 1

[PATCH 0/4] staging: wilc1000: modification to use list_head data structure

2018-06-03 Thread Ajay Singh
Instead of having own linked list implementation to maintain buffer queue change to use list_head. Also removed the few elements from 'wilc' struct as it's not required to be part of 'wilc' struct. Ajay Singh (4): staging: wilc1000: use list_head to maintain 'txq_entry_t' elements of tx

[PATCH 3/4] staging: wilc1000: remove 'rxq_entries' from 'wilc' struct

2018-06-03 Thread Ajay Singh
Removed unnecessary 'rxq_entries' element from 'wilc' struct, as its value is not used. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 - drivers/staging/wilc1000/wilc_wlan.c | 7 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH 1/4] staging: wilc1000: use list_head to maintain 'txq_entry_t' elements of tx queue

2018-06-03 Thread Ajay Singh
Use list_head data structure for the doubly linked list instead of own implementation. Only 'txq_head' is required, so removed the txq_tail pointer from 'wilc' structure. Following functions are modified to provide data using list_head API's wilc_wlan_txq_remove() wilc_wlan_txq_remove_from_head()

[PATCH 4/4] staging: wilc1000: move 'txq_spinlock_flags' from 'wilc' structure to local variable

2018-06-03 Thread Ajay Singh
Cleanup patch to remove 'txq_spinlock_flags' element in 'wilc' and used local variable 'flag' in wilc_wlan_txq_filter_dup_tcp_ack(). Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2 -- drivers/staging/wilc1000/wilc_wlan.c | 5 +++-- 2 files changed, 3

Re: [PATCH 1/2] nfc: st21nfca: Check for devm_kzalloc() failure

2018-06-03 Thread Samuel Ortiz
Hi Fabio, On Mon, Apr 23, 2018 at 08:50:04AM -0300, Fabio Estevam wrote: > Hi Samuel, > > Maybe this patch series got forgotten? Both patches applied to nfc-next, sorry for the lag. Cheers, Samuel.

RE: [EXTERNAL] Re: [RFT 3/6] wlcore: Add support for runtime PM

2018-06-03 Thread Reizer, Eyal
> > * Tony Lindgren [180529 18:09]: > > --- a/drivers/net/wireless/ti/wlcore/main.c > > +++ b/drivers/net/wireless/ti/wlcore/main.c > ... > > +static int __maybe_unused wlcore_runtime_resume(struct device *dev) > > +{ > > + struct wl1271 *wl = dev_get_drvdata(dev); > > +