Search Linux Wireless

Re: [PATCH v5.4] iwlwifi: mvm: fix build w/o CONFIG_THERMAL

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

 



Luca Coelho <luca@xxxxxxxxx> writes:

> On Wed, 2019-09-18 at 16:49 +0300, Luca Coelho wrote:
>> From: Johannes Berg <johannes.berg@xxxxxxxxx>
>> 
>> Without CONFIG_THERMAL, the driver fails to link as it calls
>> iwl_mvm_send_temp_report_ths_cmd() unconditionally. Fix this
>> by making that function available, but do almost nothing but
>> send the empty firmware command to enable CT-kill reporting.
>> 
>> While at it, also fix that function itself to not error out
>> when the thermal zone hasn't been initialized, but instead
>> just send the empty firmware command in this case as well.
>> 
>> Fixes: 242d9c8b9a93 ("iwlwifi: mvm: use FW thermal monitoring regardless of CONFIG_THERMAL")
>> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
>> Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx>
>> ---
>
> Kalle, please take this patch to fix the THERMAL thing instead.  I'll
> assign it to you in patchwork (and mark the other one as superseded).

Ok, I'll queue this to v5.4.

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux