diff options
| author | Mayank Rana <mrana@codeaurora.org> | 2016-08-09 15:04:33 -0700 |
|---|---|---|
| committer | Mayank Rana <mrana@codeaurora.org> | 2016-08-17 18:01:40 -0700 |
| commit | e449829951862ccc628e3b7ed62bd0df51483e1b (patch) | |
| tree | 7713ff47c1fa671560ea9b1f4ed3458bb22595e3 /include/linux/fpga/fpga-mgr.h | |
| parent | 008f057bbab6dd6629b7e1a3b8c67b650a6b9ef1 (diff) | |
usb: phy: qusb: reset size to zero before getting next property size
For emulation platform, there are multiple PHY init sequence passed
through device tree. On some platform all PHY init sequence is not
required. This results into using zero as value and offset with PHY
init sequence which is not passed through device tree as of_get_property()
doesn't update size variable if property is not found. Hence reset size
variable to zero before querying next property size.
CRs-Fixed: 1056000
Change-Id: I0c1af2e3a4f3d530af8d8bbec2f41408ab78ed96
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions
