[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1453234283.23600.5.camel@sipsolutions.net>
Date: Tue, 19 Jan 2016 21:11:23 +0100
From: Johannes Berg <johannes@...solutions.net>
To: João Paulo Rechi Vita <jprvita@...il.com>
Cc: marcel@...tmann.org, linux-wireless@...r.kernel.org,
davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, jprvita@...lessm.com,
linux@...lessm.com
Subject: Re: [PATCH 1/8] rfkill: Documentation and style fixes
> /**
> * rfkill_resume_polling(struct rfkill *rfkill)
> *
> - * Pause polling -- say transmitter is off for other reasons.
> + * Resume polling previously paused with rfkill_pause_polling.
> * NOTE: not necessary for suspend/resume -- in that case the
> - * core stops polling anyway
> + * core restarts polling anyway, even if was explicitly paused
> + * before suspending.
> */
If this is true, that's a bug, no? Drivers would call pause/resume when
their status changes, and shouldn't be required to check status at
resume time?
johannes
Powered by blists - more mailing lists