diff --git a/[refs] b/[refs] index 422b879075da..6ea72119df96 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2448b14715bc83d75ed779452fe89285df4d772a +refs/heads/master: 1be1d76b8a1f622fd3a64778dfe117053f2af1f2 diff --git a/trunk/sound/pci/asihpi/hpifunc.c b/trunk/sound/pci/asihpi/hpifunc.c index 15f0c7ea0e52..eda26b312324 100644 --- a/trunk/sound/pci/asihpi/hpifunc.c +++ b/trunk/sound/pci/asihpi/hpifunc.c @@ -3407,7 +3407,7 @@ u16 hpi_entity_alloc_and_pack(const enum e_entity_type type, if (hE) return hE; - HPI_DEBUG_ASSERT(role > entity_role_null && type < LAST_ENTITY_ROLE); + HPI_DEBUG_ASSERT(role > entity_role_null && type < LAST_ENTITY_TYPE); bytes_to_copy = entity_type_to_size[type] * item_count; total_size = hpi_entity_header_size(*entity) + bytes_to_copy;