Commit 8daa7c5c authored by Jonathan Bergh's avatar Jonathan Bergh Committed by Mauro Carvalho Chehab

media: staging: media: atomisp: Fix various multiline block comment formatting instances

This patch makes the following fixes:
 * Reformats a number of multiline block comments to ensure * and */ align
   correctly

Link: https://lore.kernel.org/r/20240227163043.112162-1-bergh.jonathan@gmail.comSigned-off-by: default avatarJonathan Bergh <bergh.jonathan@gmail.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 80b685e6
...@@ -74,13 +74,15 @@ static char firmware_name[256]; ...@@ -74,13 +74,15 @@ static char firmware_name[256];
module_param_string(firmware_name, firmware_name, sizeof(firmware_name), 0); module_param_string(firmware_name, firmware_name, sizeof(firmware_name), 0);
MODULE_PARM_DESC(firmware_name, "Firmware file name. Allows overriding the default firmware name."); MODULE_PARM_DESC(firmware_name, "Firmware file name. Allows overriding the default firmware name.");
/*set to 16x16 since this is the amount of lines and pixels the sensor /*
exports extra. If these are kept at the 10x8 that they were on, in yuv * Set to 16x16 since this is the amount of lines and pixels the sensor
downscaling modes incorrect resolutions where requested to the sensor * exports extra. If these are kept at the 10x8 that they were on, in yuv
driver with strange outcomes as a result. The proper way tot do this * downscaling modes incorrect resolutions where requested to the sensor
would be to have a list of tables the specify the sensor res, mipi rec, * driver with strange outcomes as a result. The proper way tot do this
output res, and isp output res. however since we do not have this yet, * would be to have a list of tables the specify the sensor res, mipi rec,
the chosen solution is the next best thing. */ * output res, and isp output res. however since we do not have this yet,
* the chosen solution is the next best thing.
*/
int pad_w = 16; int pad_w = 16;
module_param(pad_w, int, 0644); module_param(pad_w, int, 0644);
MODULE_PARM_DESC(pad_w, "extra data for ISP processing"); MODULE_PARM_DESC(pad_w, "extra data for ISP processing");
...@@ -503,12 +505,12 @@ static int atomisp_mrfld_pre_power_down(struct atomisp_device *isp) ...@@ -503,12 +505,12 @@ static int atomisp_mrfld_pre_power_down(struct atomisp_device *isp)
} }
done: done:
/* /*
* MRFLD WORKAROUND: * MRFLD WORKAROUND:
* before powering off IUNIT, clear the pending interrupts * before powering off IUNIT, clear the pending interrupts
* and disable the interrupt. driver should avoid writing 0 * and disable the interrupt. driver should avoid writing 0
* to IIR. It could block subsequent interrupt messages. * to IIR. It could block subsequent interrupt messages.
* HW sighting:4568410. * HW sighting:4568410.
*/ */
pci_read_config_dword(pdev, PCI_INTERRUPT_CTRL, &irq); pci_read_config_dword(pdev, PCI_INTERRUPT_CTRL, &irq);
irq &= ~BIT(INTR_IER); irq &= ~BIT(INTR_IER);
pci_write_config_dword(pdev, PCI_INTERRUPT_CTRL, irq); pci_write_config_dword(pdev, PCI_INTERRUPT_CTRL, irq);
...@@ -521,9 +523,9 @@ static int atomisp_mrfld_pre_power_down(struct atomisp_device *isp) ...@@ -521,9 +523,9 @@ static int atomisp_mrfld_pre_power_down(struct atomisp_device *isp)
} }
/* /*
* WA for DDR DVFS enable/disable * WA for DDR DVFS enable/disable
* By default, ISP will force DDR DVFS 1600MHz before disable DVFS * By default, ISP will force DDR DVFS 1600MHz before disable DVFS
*/ */
static void punit_ddr_dvfs_enable(bool enable) static void punit_ddr_dvfs_enable(bool enable)
{ {
int reg; int reg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment