Sugnan Prabhu S has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41607 )
Change subject: drivers/intel/mipi_camera: Handle acpi_name and common code
......................................................................
Patch Set 24:
(2 comments)
https://review.coreboot.org/c/coreboot/+/41607/23/src/drivers/intel/mipi_cam...
File src/drivers/intel/mipi_camera/camera.c:
https://review.coreboot.org/c/coreboot/+/41607/23/src/drivers/intel/mipi_cam...
PS23, Line 24: address = PCI_SLOT(dev->path.pci.devfn) & 0xffff;
: address <<= 16;
: address |= PCI_FUNC(dev->path.pci.devfn) & 0xffff;
: acpigen_write_name_dword("_ADR", address);
acpigen_write_ADR_pci_device 😊
Done
https://review.coreboot.org/c/coreboot/+/41607/23/src/drivers/intel/mipi_cam...
PS23, Line 168: prefix = "ERR"; /* Error */
: printk(BIOS_ERR, "Invalid device type: %x\n", config->device_type);
: break;
just my opinion: I don't think setting prefix is necessary here; device_operations. […]
Done
--
To view, visit
https://review.coreboot.org/c/coreboot/+/41607
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I15979f345fb823df2560db269e902a1ea650b69e
Gerrit-Change-Number: 41607
Gerrit-PatchSet: 24
Gerrit-Owner: Sugnan Prabhu S
sugnan.prabhu.s@intel.com
Gerrit-Reviewer: Daniel Kang
daniel.h.kang@intel.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Matt Delco
delco@chromium.org
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Reviewer: Rizwan Qureshi
rizwan.qureshi@intel.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@google.com
Gerrit-Reviewer: Varshit B Pandya
varshit.b.pandya@intel.com
Gerrit-Reviewer: Wonkyu Kim
wonkyu.kim@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Arthur Heymans
arthur@aheymans.xyz
Gerrit-CC: Kiran2 Kumar
kiran2.kumar@intel.corp-partner.google.com
Gerrit-Comment-Date: Fri, 19 Jun 2020 17:59:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-MessageType: comment