asoc: update asoc and ipc drivers for kernel 5.15
Port drivers for Linux kernel 5.15(or after). Remove unused headers that not present in the new kernel. Update function interface matching API updates in the kernel. Change-Id: Ibdffbe20c0b65b2ddda958d6a32c493696e15768 Signed-off-by: Junkai Cai <junkai@codeaurora.org>
This commit is contained in:
@@ -355,7 +355,7 @@ static int gpr_device_probe(struct device *dev)
|
||||
return adrv->probe(adev);
|
||||
}
|
||||
|
||||
static int gpr_device_remove(struct device *dev)
|
||||
static void gpr_device_remove(struct device *dev)
|
||||
{
|
||||
struct gpr_device *adev = to_gpr_device(dev);
|
||||
struct gpr_driver *adrv;
|
||||
@@ -370,7 +370,7 @@ static int gpr_device_remove(struct device *dev)
|
||||
spin_unlock(&gpr->svcs_lock);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
static int gpr_uevent(struct device *dev, struct kobj_uevent_env *env)
|
||||
|
مرجع در شماره جدید
Block a user