BZ: 17299
HACK: Enabling SRAM usage in USB OTG driver would make USB OTG unstable during
large file transfer. For now, let's disable SRAM for Cloverview until this
issue is fully root caused and resolved.
Change-Id: Iccd5200b6a6b62798b5b3be970bca37aac4b6169
Signed-off-by: Prabu Renganathan <prabu.renganathan@intel.com>
Signed-off-by: Bin Gao <bin.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/27226
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
}
dev->has_sram = 1;
+
+ /* FIXME: SRAM doesn't work stably with Cloverview */
+ if (pdev->vendor == 0x8086 && pdev->device == 0xE006) {
+ dev_info(&pdev->dev, "Disable SRAM for Cloverview.\n");
+ dev->has_sram = 0;
+ }
+
dev->got_sram = 0;
dev_vdbg(&dev->pdev->dev, "dev->has_sram: %d\n", dev->has_sram);