File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
drivers/net/wireless/intel/iwlwifi/fw Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -1026,17 +1026,12 @@ static int iwl_dump_ini_prph_mac_iter_common(struct iwl_fw_runtime *fwrt,
1026
1026
{
1027
1027
struct iwl_fw_ini_error_dump_range * range = range_ptr ;
1028
1028
__le32 * val = range -> data ;
1029
- u32 prph_val ;
1030
1029
int i ;
1031
1030
1032
1031
range -> internal_base_addr = cpu_to_le32 (addr );
1033
1032
range -> range_data_size = size ;
1034
- for (i = 0 ; i < le32_to_cpu (size ); i += 4 ) {
1035
- prph_val = iwl_read_prph (fwrt -> trans , addr + i );
1036
- if (iwl_trans_is_hw_error_value (prph_val ))
1037
- return - EBUSY ;
1038
- * val ++ = cpu_to_le32 (prph_val );
1039
- }
1033
+ for (i = 0 ; i < le32_to_cpu (size ); i += 4 )
1034
+ * val ++ = cpu_to_le32 (iwl_read_prph (fwrt -> trans , addr + i ));
1040
1035
1041
1036
return sizeof (* range ) + le32_to_cpu (range -> range_data_size );
1042
1037
}
You can’t perform that action at this time.
0 commit comments