mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
goodix_gtx8_v1430_mmi: Set FW name in dtsi
TP: Moto TP FW upload script is not bringuped for this driver. So set firmware name in dtsi for racer lite. Change-Id: Ia65ddf142e01c08448e23e88ae8116e623c18ac1 Signed-off-by: haojl2 <haojl2@motorola.com> Reviewed-on: https://gerrit.mot.com/1426485 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Tao Sun <suntao2@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
ef333d8cde
commit
97b44ebfa2
1 changed files with 8 additions and 0 deletions
|
|
@ -174,6 +174,14 @@ static int goodix_parse_dt(struct device_node *node,
|
|||
board_data->cfg_bin_name = NULL;
|
||||
}
|
||||
|
||||
board_data->fw_name = kzalloc(32 * sizeof(char), GFP_KERNEL);
|
||||
r = of_property_read_string(node, "goodix,fw_name",
|
||||
&board_data->fw_name);
|
||||
if (r) {
|
||||
ts_err("Unable to read fw name %d\n", r);
|
||||
board_data->fw_name = NULL;
|
||||
}
|
||||
|
||||
memset(board_data->avdd_name, 0, sizeof(board_data->avdd_name));
|
||||
r = of_property_read_string(node, "goodix,avdd-name", &name_tmp);
|
||||
if (!r) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue