Loading drivers/misc/qcom/qdsp6v2/audio_wmapro.c +3 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ * * Copyright (C) 2008 Google, Inc. * Copyright (C) 2008 HTC Corporation * Copyright (c) 2009-2016, The Linux Foundation. All rights reserved. * Copyright (c) 2009-2017, The Linux Foundation. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and Loading Loading @@ -87,7 +87,7 @@ static long audio_ioctl_shared(struct file *file, unsigned int cmd, } wmapro_cfg.avg_bytes_per_sec = wmapro_config->avgbytespersecond; if ((wmapro_config->asfpacketlength <= 13376) || if ((wmapro_config->asfpacketlength <= 13376) && (wmapro_config->asfpacketlength > 0)) { wmapro_cfg.block_align = wmapro_config->asfpacketlength; Loading Loading
drivers/misc/qcom/qdsp6v2/audio_wmapro.c +3 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ * * Copyright (C) 2008 Google, Inc. * Copyright (C) 2008 HTC Corporation * Copyright (c) 2009-2016, The Linux Foundation. All rights reserved. * Copyright (c) 2009-2017, The Linux Foundation. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and Loading Loading @@ -87,7 +87,7 @@ static long audio_ioctl_shared(struct file *file, unsigned int cmd, } wmapro_cfg.avg_bytes_per_sec = wmapro_config->avgbytespersecond; if ((wmapro_config->asfpacketlength <= 13376) || if ((wmapro_config->asfpacketlength <= 13376) && (wmapro_config->asfpacketlength > 0)) { wmapro_cfg.block_align = wmapro_config->asfpacketlength; Loading