Loading drivers/soc/qcom/smd_debug.c +7 −1 Original line number Diff line number Diff line /* drivers/soc/qcom/smd_debug.c * * Copyright (C) 2007 Google, Inc. * Copyright (c) 2009-2014, The Linux Foundation. All rights reserved. * Copyright (c) 2009-2015, The Linux Foundation. All rights reserved. * Author: Brian Swetland <swetland@google.com> * * This software is licensed under the terms of the GNU General Public Loading @@ -19,6 +19,7 @@ #include <linux/list.h> #include <linux/ctype.h> #include <linux/jiffies.h> #include <linux/err.h> #include <soc/qcom/smem.h> Loading Loading @@ -324,6 +325,11 @@ static void debug_ch(struct seq_file *s) return; } if (IS_ERR(tbl) && PTR_ERR(tbl) == -EPROBE_DEFER) { seq_puts(s, "SMEM is not initialized\n"); return; } seq_puts(s, "Primary allocation table:\n"); print_smd_ch_table(s, tbl, tbl_size / sizeof(*tbl), ID_SMD_CHANNELS, SMEM_SMD_FIFO_BASE_ID, Loading Loading
drivers/soc/qcom/smd_debug.c +7 −1 Original line number Diff line number Diff line /* drivers/soc/qcom/smd_debug.c * * Copyright (C) 2007 Google, Inc. * Copyright (c) 2009-2014, The Linux Foundation. All rights reserved. * Copyright (c) 2009-2015, The Linux Foundation. All rights reserved. * Author: Brian Swetland <swetland@google.com> * * This software is licensed under the terms of the GNU General Public Loading @@ -19,6 +19,7 @@ #include <linux/list.h> #include <linux/ctype.h> #include <linux/jiffies.h> #include <linux/err.h> #include <soc/qcom/smem.h> Loading Loading @@ -324,6 +325,11 @@ static void debug_ch(struct seq_file *s) return; } if (IS_ERR(tbl) && PTR_ERR(tbl) == -EPROBE_DEFER) { seq_puts(s, "SMEM is not initialized\n"); return; } seq_puts(s, "Primary allocation table:\n"); print_smd_ch_table(s, tbl, tbl_size / sizeof(*tbl), ID_SMD_CHANNELS, SMEM_SMD_FIFO_BASE_ID, Loading