Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'hsi-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi

Pull HSI updates from Sebastian Reichel:

- fix build warning with W=1

- drop error handling for debugfs

* tag 'hsi-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
HSI: omap_ssi_port: Drop error checking for debugfs_create_dir
HSI: fix ssi_waketest() declaration

+4 -14
-2
drivers/hsi/clients/ssi_protocol.c
··· 32 32 #include <linux/hsi/hsi.h> 33 33 #include <linux/hsi/ssi_protocol.h> 34 34 35 - void ssi_waketest(struct hsi_client *cl, unsigned int enable); 36 - 37 35 #define SSIP_TXQUEUE_LEN 100 38 36 #define SSIP_MAX_MTU 65535 39 37 #define SSIP_DEFAULT_MTU 4000
+1
drivers/hsi/controllers/omap_ssi_core.c
··· 17 17 #include <linux/dma-mapping.h> 18 18 #include <linux/dmaengine.h> 19 19 #include <linux/delay.h> 20 + #include <linux/hsi/ssi_protocol.h> 20 21 #include <linux/seq_file.h> 21 22 #include <linux/scatterlist.h> 22 23 #include <linux/interrupt.h>
+2 -12
drivers/hsi/controllers/omap_ssi_port.c
··· 151 151 152 152 DEFINE_DEBUGFS_ATTRIBUTE(ssi_sst_div_fops, ssi_div_get, ssi_div_set, "%llu\n"); 153 153 154 - static int ssi_debug_add_port(struct omap_ssi_port *omap_port, 154 + static void ssi_debug_add_port(struct omap_ssi_port *omap_port, 155 155 struct dentry *dir) 156 156 { 157 157 struct hsi_port *port = to_hsi_port(omap_port->dev); 158 158 159 159 dir = debugfs_create_dir(dev_name(omap_port->dev), dir); 160 - if (!dir) 161 - return -ENOMEM; 162 160 omap_port->dir = dir; 163 161 debugfs_create_file("regs", S_IRUGO, dir, port, &ssi_port_regs_fops); 164 162 dir = debugfs_create_dir("sst", dir); 165 - if (!dir) 166 - return -ENOMEM; 167 163 debugfs_create_file_unsafe("divisor", 0644, dir, port, 168 164 &ssi_sst_div_fops); 169 - 170 - return 0; 171 165 } 172 166 #endif 173 167 ··· 1211 1217 pm_runtime_enable(omap_port->pdev); 1212 1218 1213 1219 #ifdef CONFIG_DEBUG_FS 1214 - err = ssi_debug_add_port(omap_port, omap_ssi->dir); 1215 - if (err < 0) { 1216 - pm_runtime_disable(omap_port->pdev); 1217 - goto error; 1218 - } 1220 + ssi_debug_add_port(omap_port, omap_ssi->dir); 1219 1221 #endif 1220 1222 1221 1223 hsi_add_clients_from_dt(port, np);
+1
include/linux/hsi/ssi_protocol.h
··· 24 24 void ssip_reset_event(struct hsi_client *master); 25 25 26 26 int ssip_slave_running(struct hsi_client *master); 27 + void ssi_waketest(struct hsi_client *cl, unsigned int enable); 27 28 28 29 #endif /* __LINUX_SSIP_SLAVE_H__ */ 29 30