Skip to content

Bb smb2 kernel spam

Jorge Sanjuan Garcia requested to merge bb_smb2_kernel_spam into mad-dev

The MDIS SMB2 BBIS driver has some Linux specific implementations around the i2c driver. The Linux native i2c implementation has some callbacks that cannot see the MDIS specific handles needed to use its Debug library.

Instead of using printk for the linux specific callbacks, make use of a macro that lets us enable/disable debug messages at build time. This solves this issue: https://github.com/MEN-Mikro-Elektronik/13MD05-90/issues/234

This pull request also removes deprecated code so it solves issue https://github.com/MEN-Mikro-Elektronik/13MD05-90/issues/245 for this driver.

NOTE: Indentation of these driver mixes different styles of tabs vs. spaces and 2 spaces vs. 4 spaces width. This will need fixing but I did not want to include this here for better traceability.

Merge request reports