On 10/08/2023 03:25, Vikash Garodia wrote:
+ if (hweight_long(core->dec_codecs) + hweight_long(core->enc_codecs) > MAX_CODEC_NUM) + return; +
Shouldn't this be >= ? struct hfi_plat_caps caps[MAX_CODEC_NUM]; --- bod
On 10/08/2023 03:25, Vikash Garodia wrote:
+ if (hweight_long(core->dec_codecs) + hweight_long(core->enc_codecs) > MAX_CODEC_NUM) + return; +
Shouldn't this be >= ? struct hfi_plat_caps caps[MAX_CODEC_NUM]; --- bod