aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/catpt/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/intel/catpt/loader.c')
-rw-r--r--sound/soc/intel/catpt/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/catpt/loader.c b/sound/soc/intel/catpt/loader.c
index 40c22e4bb263..ff7b8f0d34ac 100644
--- a/sound/soc/intel/catpt/loader.c
+++ b/sound/soc/intel/catpt/loader.c
@@ -267,7 +267,7 @@ static int catpt_restore_fwimage(struct catpt_dev *cdev,
r2.start = off;
r2.end = r2.start + info->size - 1;
- if (!catpt_resource_overlapping(&r2, &r1, &common))
+ if (!resource_intersection(&r2, &r1, &common))
continue;
/* calculate start offset of common data area */
off = common.start - r1.start;