android_kernel_xiaomi_sm7250/include/linux/i2c-qcom-geni.h
Sultan Alsawaf 1f386531d9 i2c: i2c-qcom-geni: Add a function to get the IRQ of a client's adapter
Exporting the IRQ of an i2c client's adapter can help i2c client drivers
utilize the PM QoS API to force the i2c IRQ to be serviced with low
latency.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2022-11-12 11:23:59 +00:00

7 lines
161 B
C

// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2020 Sultan Alsawaf <sultan@kerneltoast.com>.
*/
int geni_i2c_get_adap_irq(struct i2c_client *client);