diff --git a/drivers/oneplus/op_freezer/op_freezer.c b/drivers/oneplus/op_freezer/op_freezer.c index 4d147487ad..a201ad7ae0 100755 --- a/drivers/oneplus/op_freezer/op_freezer.c +++ b/drivers/oneplus/op_freezer/op_freezer.c @@ -40,37 +40,37 @@ int op_freezer_report(enum message_type type, int caller_pid, int target_uid, co struct nlmsghdr *nlh = NULL; if (atomic_read(&op_freezer_deamon_port) == -1) { - pr_err("%s: op_freezer_deamon_port invalid!\n", __func__); +// pr_err("%s: op_freezer_deamon_port invalid!\n", __func__); return OP_FREEZER_ERROR; } if (sock_handle == NULL) { - pr_err("%s: sock_handle invalid!\n", __func__); +// pr_err("%s: sock_handle invalid!\n", __func__); return OP_FREEZER_ERROR; } if (type >= TYPE_MAX) { - pr_err("%s: type = %d invalid!\n", __func__, type); +// pr_err("%s: type = %d invalid!\n", __func__, type); return OP_FREEZER_ERROR; } len = sizeof(struct op_freezer_message); skb = nlmsg_new(len, GFP_ATOMIC); if (skb == NULL) { - pr_err("%s: type =%d, nlmsg_new failed!\n", __func__, type); +// pr_err("%s: type =%d, nlmsg_new failed!\n", __func__, type); return OP_FREEZER_ERROR; } nlh = nlmsg_put(skb, 0, 0, 0, len, 0); if (nlh == NULL) { - pr_err("%s: type =%d, nlmsg_put failed!\n", __func__, type); +// pr_err("%s: type =%d, nlmsg_put failed!\n", __func__, type); kfree_skb(skb); return OP_FREEZER_ERROR; } data = nlmsg_data(nlh); if(data == NULL) { - pr_err("%s: type =%d, nlmsg_data failed!\n", __func__, type); +// pr_err("%s: type =%d, nlmsg_data failed!\n", __func__, type); return OP_FREEZER_ERROR; } data->type = type; diff --git a/drivers/soc/qcom/watchdog_v2.c b/drivers/soc/qcom/watchdog_v2.c index 8462d99ddc..46a9f25936 100644 --- a/drivers/soc/qcom/watchdog_v2.c +++ b/drivers/soc/qcom/watchdog_v2.c @@ -493,19 +493,19 @@ static void print_irq_stat(struct msm_watchdog_data *wdog_dd) struct irq_info *info; - pr_info("(virq:irq_count)- "); + pr_debug("(virq:irq_count)- "); for (index = 0; index < NR_TOP_HITTERS; index++) { info = &wdog_dd->irq_counts[index]; pr_cont("%u:%u ", info->irq, info->total_count); } pr_cont("\n"); - pr_info("(cpu:irq_count)- "); + pr_debug("(cpu:irq_count)- "); for_each_possible_cpu(cpu) pr_cont("%u:%u ", cpu, wdog_dd->tot_irq_count[cpu]); pr_cont("\n"); - pr_info("(ipi:irq_count)- "); + pr_debug("(ipi:irq_count)- "); for (index = 0; index < NR_IPI; index++) { info = &wdog_dd->ipi_counts[index]; pr_cont("%u:%u ", info->irq, info->total_count); diff --git a/fs/fuse/shortcircuit.c b/fs/fuse/shortcircuit.c index ace991f86d..d4b509daa4 100644 --- a/fs/fuse/shortcircuit.c +++ b/fs/fuse/shortcircuit.c @@ -143,7 +143,7 @@ void fuse_setup_shortcircuit(struct fuse_conn *fc, struct fuse_req *req) return; req->private_lower_rw_file = rw_lower_file; - pr_info("fuse setup sct:%d, %d\n", fd, flags); +// pr_info("fuse setup sct:%d, %d\n", fd, flags); } static ssize_t fuse_shortcircuit_read_write_iter(struct kiocb *iocb, diff --git a/fs/sdcardfs/super.c b/fs/sdcardfs/super.c index b2ba09a6ab..54bb1a0b78 100644 --- a/fs/sdcardfs/super.c +++ b/fs/sdcardfs/super.c @@ -144,7 +144,7 @@ static int sdcardfs_remount_fs2(struct vfsmount *mnt, struct super_block *sb, pr_err("sdcardfs: remount flags 0x%x unsupported\n", *flags); err = -EINVAL; } - pr_info("Remount options were %s for vfsmnt %p.\n", options, mnt); +// pr_info("Remount options were %s for vfsmnt %p.\n", options, mnt); err = parse_options_remount(sb, options, *flags & ~MS_SILENT, mnt->data); diff --git a/techpack/audio/asoc/codecs/tfa9894/tfa_dsp.c b/techpack/audio/asoc/codecs/tfa9894/tfa_dsp.c index c0079c9b48..6faf1bcb88 100644 --- a/techpack/audio/asoc/codecs/tfa9894/tfa_dsp.c +++ b/techpack/audio/asoc/codecs/tfa9894/tfa_dsp.c @@ -2289,7 +2289,7 @@ enum Tfa98xx_Error tfa98xx_powerdown(struct tfa_device *tfa, int powerdown) if (tfa->in_use == 0) return Tfa98xx_Error_NotOpen; - pr_info("tfa98xx_powerdown\n"); +// pr_info("tfa98xx_powerdown\n"); error = TFA_SET_BF(tfa, PWDN, (uint16_t)powerdown); @@ -3042,10 +3042,10 @@ enum tfa_error tfa_dev_start(struct tfa_device *tfa, int next_profile, int vstep active_profile = -1; /* TfaRun_SpeakerBoost implies un-mute */ - pr_info("%s: Slave 0x%x, Active_profile:%s, next_profile:%s\n", - __func__, tfa->slave_address, - tfaContProfileName(tfa->cnt, tfa->dev_idx, active_profile), - tfaContProfileName(tfa->cnt, tfa->dev_idx, next_profile)); +// pr_info("%s: Slave 0x%x, Active_profile:%s, next_profile:%s\n", +// __func__, tfa->slave_address, +// tfaContProfileName(tfa->cnt, tfa->dev_idx, active_profile), +// tfaContProfileName(tfa->cnt, tfa->dev_idx, next_profile)); err = show_current_state(tfa); diff --git a/techpack/audio/dsp/q6adm.c b/techpack/audio/dsp/q6adm.c index 4250f28e32..58f0b8d899 100644 --- a/techpack/audio/dsp/q6adm.c +++ b/techpack/audio/dsp/q6adm.c @@ -3009,9 +3009,9 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology, int param_size; int num_ec_ref_rx_chans = this_adm.num_ec_ref_rx_chans; - pr_info("%s:port %#x path:%d rate:%d mode:%d perf_mode:%d,topo_id %d app_type:%d acdb_id:%d\n", - __func__, port_id, path, rate, channel_mode, perf_mode, - topology, app_type, acdb_id); +// pr_info("%s:port %#x path:%d rate:%d mode:%d perf_mode:%d,topo_id %d app_type:%d acdb_id:%d\n", +// __func__, port_id, path, rate, channel_mode, perf_mode, +// topology, app_type, acdb_id); port_id = q6audio_convert_virtual_to_portid(port_id); port_idx = adm_validate_and_get_port_index(port_id); @@ -3138,8 +3138,8 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology, /* Create a COPP if port id are not enabled */ if (atomic_read(&this_adm.copp.cnt[port_idx][copp_idx]) == 0) { - pr_info("%s: open ADM: port_idx: %d, copp_idx: %d\n", __func__, - port_idx, copp_idx); +// pr_info("%s: open ADM: port_idx: %d, copp_idx: %d\n", __func__, +// port_idx, copp_idx); if ((topology == SRS_TRUMEDIA_TOPOLOGY_ID) && perf_mode == LEGACY_PCM_MODE) { int res; @@ -3817,8 +3817,8 @@ int adm_close(int port_id, int perf_mode, int copp_idx) int ret = 0, port_idx; int copp_id = RESET_COPP_ID; - pr_info("%s: port_id=0x%x perf_mode: %d copp_idx: %d\n", __func__, - port_id, perf_mode, copp_idx); +// pr_info("%s: port_id=0x%x perf_mode: %d copp_idx: %d\n", __func__, +// port_id, perf_mode, copp_idx); port_id = q6audio_convert_virtual_to_portid(port_id); port_idx = adm_validate_and_get_port_index(port_id); diff --git a/techpack/audio/dsp/q6afe.c b/techpack/audio/dsp/q6afe.c index 22fc2e76ca..b0a1edd953 100644 --- a/techpack/audio/dsp/q6afe.c +++ b/techpack/audio/dsp/q6afe.c @@ -2892,8 +2892,8 @@ static int afe_send_hw_delay(u16 port_id, u32 rate) __func__, port_id, ret); fail_cmd: - pr_info("%s: port_id 0x%x rate %u delay_usec %d status %d\n", - __func__, port_id, rate, delay_entry.delay_usec, ret); +// pr_info("%s: port_id 0x%x rate %u delay_usec %d status %d\n", +// __func__, port_id, rate, delay_entry.delay_usec, ret); return ret; } @@ -2916,8 +2916,8 @@ static struct cal_block_data *afe_find_cal_topo_id_by_port( /* Skip cal_block if it is already marked stale */ if (cal_utils_is_cal_stale(cal_block)) continue; - pr_info("%s: port id: 0x%x, dev_acdb_id: %d\n", __func__, - port_id, this_afe.dev_acdb_id[afe_port_index]); +// pr_info("%s: port id: 0x%x, dev_acdb_id: %d\n", __func__, +// port_id, this_afe.dev_acdb_id[afe_port_index]); path = ((afe_get_port_type(port_id) == MSM_AFE_PORT_TYPE_TX)?(TX_DEVICE):(RX_DEVICE)); afe_top = @@ -2926,16 +2926,16 @@ static struct cal_block_data *afe_find_cal_topo_id_by_port( if (this_afe.dev_acdb_id[afe_port_index] > 0) { if (afe_top->acdb_id == this_afe.dev_acdb_id[afe_port_index]) { - pr_info("%s: top_id:%x acdb_id:%d afe_port_id:0x%x\n", - __func__, afe_top->topology, - afe_top->acdb_id, - q6audio_get_port_id(port_id)); +// pr_info("%s: top_id:%x acdb_id:%d afe_port_id:0x%x\n", +// __func__, afe_top->topology, +// afe_top->acdb_id, +// q6audio_get_port_id(port_id)); return cal_block; } } else { - pr_info("%s: top_id:%x acdb_id:%d afe_port:0x%x\n", - __func__, afe_top->topology, afe_top->acdb_id, - q6audio_get_port_id(port_id)); +// pr_info("%s: top_id:%x acdb_id:%d afe_port:0x%x\n", +// __func__, afe_top->topology, afe_top->acdb_id, +// q6audio_get_port_id(port_id)); return cal_block; } } @@ -2990,9 +2990,9 @@ static int afe_get_cal_topology_id(u16 port_id, u32 *topology_id, *topology_id = (u32)afe_top_info->topology; cal_utils_mark_cal_used(cal_block); - pr_info("%s: port_id = 0x%x acdb_id = %d topology_id = 0x%x cal_type_index=%d ret=%d\n", - __func__, port_id, afe_top_info->acdb_id, - afe_top_info->topology, cal_type_index, ret); +// pr_info("%s: port_id = 0x%x acdb_id = %d topology_id = 0x%x cal_type_index=%d ret=%d\n", +// __func__, port_id, afe_top_info->acdb_id, +// afe_top_info->topology, cal_type_index, ret); unlock: mutex_unlock(&this_afe.cal_data[cal_type_index]->lock); return ret; @@ -3047,8 +3047,8 @@ static int afe_send_port_topology_id(u16 port_id) this_afe.topology[index] = topology_id; rtac_update_afe_topology(port_id); done: - pr_info("%s: AFE set topology id 0x%x enable for port 0x%x ret %d\n", - __func__, topology_id, port_id, ret); +// pr_info("%s: AFE set topology id 0x%x enable for port 0x%x ret %d\n", +// __func__, topology_id, port_id, ret); return ret; } @@ -3284,8 +3284,8 @@ static struct cal_block_data *afe_find_cal(int cal_index, int port_id) struct audio_cal_info_afe *afe_cal_info = NULL; int afe_port_index = q6audio_get_port_index(port_id); - pr_info("%s: cal_index %d port_id 0x%x port_index %d\n", __func__, - cal_index, port_id, afe_port_index); +// pr_info("%s: cal_index %d port_id 0x%x port_index %d\n", __func__, +// cal_index, port_id, afe_port_index); if (afe_port_index < 0) { pr_err("%s: Error getting AFE port index %d\n", __func__, afe_port_index); @@ -3296,17 +3296,17 @@ static struct cal_block_data *afe_find_cal(int cal_index, int port_id) &this_afe.cal_data[cal_index]->cal_blocks) { cal_block = list_entry(ptr, struct cal_block_data, list); afe_cal_info = cal_block->cal_info; - pr_info("%s: acdb_id %d dev_acdb_id %d sample_rate %d afe_sample_rates %d\n", - __func__, afe_cal_info->acdb_id, - this_afe.dev_acdb_id[afe_port_index], - afe_cal_info->sample_rate, - this_afe.afe_sample_rates[afe_port_index]); +// pr_info("%s: acdb_id %d dev_acdb_id %d sample_rate %d afe_sample_rates %d\n", +// __func__, afe_cal_info->acdb_id, +// this_afe.dev_acdb_id[afe_port_index], +// afe_cal_info->sample_rate, +// this_afe.afe_sample_rates[afe_port_index]); if ((afe_cal_info->acdb_id == this_afe.dev_acdb_id[afe_port_index]) && (afe_cal_info->sample_rate == this_afe.afe_sample_rates[afe_port_index])) { - pr_info("%s: cal block is a match, size is %zd\n", - __func__, cal_block->cal_data.size); +// pr_info("%s: cal block is a match, size is %zd\n", +// __func__, cal_block->cal_data.size); goto exit; } } @@ -3323,7 +3323,7 @@ static int send_afe_cal_type(int cal_index, int port_id) int ret; int afe_port_index = q6audio_get_port_index(port_id); - pr_info("%s: cal_index is %d\n", __func__, cal_index); +// pr_info("%s: cal_index is %d\n", __func__, cal_index); if (this_afe.cal_data[cal_index] == NULL) { pr_warn("%s: cal_index %d not allocated!\n", @@ -3340,9 +3340,9 @@ static int send_afe_cal_type(int cal_index, int port_id) } mutex_lock(&this_afe.cal_data[cal_index]->lock); - pr_info("%s: dev_acdb_id[%d] is %d\n", - __func__, afe_port_index, - this_afe.dev_acdb_id[afe_port_index]); +// pr_info("%s: dev_acdb_id[%d] is %d\n", +// __func__, afe_port_index, +// this_afe.dev_acdb_id[afe_port_index]); if (((cal_index == AFE_COMMON_RX_CAL) || (cal_index == AFE_COMMON_TX_CAL) || (cal_index == AFE_LSM_TX_CAL)) && @@ -3358,7 +3358,7 @@ static int send_afe_cal_type(int cal_index, int port_id) goto unlock; } - pr_info("%s: Sending cal_index cal %d\n", __func__, cal_index); +// pr_info("%s: Sending cal_index cal %d\n", __func__, cal_index); ret = remap_cal_data(cal_block, cal_index); if (ret) { @@ -5300,7 +5300,7 @@ static int __afe_port_start(u16 port_id, union afe_port_config *afe_config, port_id = VIRTUAL_ID_TO_PORTID(port_id); } - pr_info("%s: port id: 0x%x\n", __func__, port_id); +// pr_info("%s: port id: 0x%x\n", __func__, port_id); index = q6audio_get_port_index(port_id); if (index < 0 || index >= AFE_MAX_PORTS) {