Re: [PATCH] net: rfkill: Do not ignore errors from regulator_enable()
From
Johannes Berg <>
Date
Thu, 15 Aug 2013 18:17:58 +0200
On Wed, 2013-08-14 at 23:10 +0100, Luis Henriques wrote: > Function regulator_enable() may return an error that has to be checked. > This patch changes function rfkill_regulator_set_block() so that it checks > for the return code. Also, rfkill_data->reg_enabled is set to 'true' only > if there is no error.