mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
HID: intel-ish-hid: ipc: Specify no cache snooping on TGL and ADL
Specify that both TGL and ADL don't support DMA cache snooping. Signed-off-by: Ye Xiang <xiang.ye@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
aa320fdbbb
commit
bcad6d1bd9
1 changed files with 5 additions and 1 deletions
|
@ -909,7 +909,11 @@ static uint32_t ish_ipc_get_header(struct ishtp_device *dev, int length,
|
|||
*/
|
||||
static bool _dma_no_cache_snooping(struct ishtp_device *dev)
|
||||
{
|
||||
return dev->pdev->device == EHL_Ax_DEVICE_ID;
|
||||
return (dev->pdev->device == EHL_Ax_DEVICE_ID ||
|
||||
dev->pdev->device == TGL_LP_DEVICE_ID ||
|
||||
dev->pdev->device == TGL_H_DEVICE_ID ||
|
||||
dev->pdev->device == ADL_S_DEVICE_ID ||
|
||||
dev->pdev->device == ADL_P_DEVICE_ID);
|
||||
}
|
||||
|
||||
static const struct ishtp_hw_ops ish_hw_ops = {
|
||||
|
|
Loading…
Reference in a new issue