Browse Source

asoc: codecs: update wcd9360 interrupt table size

WCD9360 interrupt table size is invalid. Update it to
correct size.

Change-Id: Ie2ec848d8a75b6889957954c9444d261a70f4c4e
Signed-off-by: Vidyakumar Athota <[email protected]>
Vidyakumar Athota 7 years ago
parent
commit
b41e711b68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      asoc/codecs/wcd9xxx-rst.c

+ 1 - 1
asoc/codecs/wcd9xxx-rst.c

@@ -518,7 +518,7 @@ version_unknown:
 	wcd_type->slim_slave_type = WCD9XXX_SLIM_SLAVE_ADDR_TYPE_1;
 	wcd_type->i2c_chip_status = 0x01;
 	wcd_type->intr_tbl = wcd9360_intr_table;
-	wcd_type->intr_tbl_size = ARRAY_SIZE(wcd934x_intr_table);
+	wcd_type->intr_tbl_size = ARRAY_SIZE(wcd9360_intr_table);
 
 	wcd_type->intr_reg[WCD9XXX_INTR_STATUS_BASE] =
 						WCD9360_INTR_PIN1_STATUS0;