summaryrefslogtreecommitdiff
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2016-01-27 18:11:40 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:03:01 -0700
commit4d50aa3264dd65fb6e554392054422742eac22ac (patch)
tree387623d466928d513821816230c11c55c0465921 /crypto/lrw.c
parent2e6b9bea067b15ba0d211cfb5f38db7dc0fe002d (diff)
usb: gadget: Move diag dload handling to f_diag driver
Upon Diag function bind, the DLOAD memory region should be updated with the USB PID and serial number in order to support a persistent connection with the PC if the device reboots into download mode. This functionality need not be handled in the android.c driver. The only reason it is there is to be able to locate the IO address which is specified in device tree. Since this can be done from the Diag function driver directly, move the handling there. The address itself can be specified under the "qcom,msm-imem" parent with its own "qcom,msm-imem-diag-dload" compatible string. For now, allow falling back to retrieving the address from the "android_usb" for backwards compatibility until the device tree files are updated. Change-Id: I0d6d1dac0f12b7890220d857227ae45c9258c1f2 Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions