Re: [PATCH RFC V3] Set NTB format again after altsetting switch for Huawei devices

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

 



> Den 8. jul. 2017 kl. 16.39 skrev Enrico Mioso <mrkiko.rs@xxxxxxxxx>:
> 
> Some firmwares in Huawei E3372H devices have been observed to switch back
> to NTB 32-bit format after altsetting switch.
> This patch implements a driver flag to check for the device settings and
> set NTB format to 16-bit again if needed.
> The flag has been activated for devices controlled by the huawei_cdc_ncm.c
> driver.
> 
> V1->V2:
> - fixed broken error checks
> - some corrections to the commit message
> V2->V3:
> - variable name changes, to clarify what's happening
> - check (and possibly set) the NTB format later in the common bind code path
> 
> Signed-Off-By: Enrico Mioso <mrkiko.rs@xxxxxxxxx>
> CC: Bjørn Mork <bjorn@xxxxxxx>
> CC: Christian Panton <christian@xxxxxxxxxx>
> CC: linux-usb@xxxxxxxxxxxxxxx

I have successfully tested V3 of the patch, with a E3372h device that exhibits the switch-back and one that does not. The patch works as intended. Thank you!

You can add the following if that is needed:

Tested-by: Christian Panton <christian@xxxxxxxxxx>

Christian--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux