Merge tag 'char-misc-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char / misc driver updates from Greg KH: "Here's the big char and misc driver update for 4.7-rc1. Lots of different tiny driver subsystems have updates here with new drivers and functionality. Details in the shortlog. All have been in linux-next with no reported issues for a while" * tag 'char-misc-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (125 commits) mcb: Delete num_cells variable which is not required mcb: Fixed bar number assignment for the gdd mcb: Replace ioremap and request_region with the devm version mcb: Implement bus->dev.release callback mcb: export bus information via sysfs mcb: Correctly initialize the bus's device mei: bus: call mei_cl_read_start under device lock coresight: etb10: adjust read pointer only when needed coresight: configuring ETF in FIFO mode when acting as link coresight: tmc: implementing TMC-ETF AUX space API coresight: moving struct cs_buffers to header file coresight: tmc: keep track of memory width coresight: tmc: make sysFS and Perf mode mutually exclusive coresight: tmc: dump system memory content only when needed coresight: tmc: adding mode of operation for link/sinks coresight: tmc: getting rid of multiple read access coresight: tmc: allocating memory when needed coresight: tmc: making prepare/unprepare functions generic coresight: tmc: splitting driver in ETB/ETF and ETR components coresight: tmc: cleaning up header file ...
This commit is contained in:
@@ -1809,14 +1809,14 @@ static void hv_pci_free_bridge_windows(struct hv_pcibus_device *hbus)
|
||||
|
||||
if (hbus->low_mmio_space && hbus->low_mmio_res) {
|
||||
hbus->low_mmio_res->flags |= IORESOURCE_BUSY;
|
||||
release_mem_region(hbus->low_mmio_res->start,
|
||||
resource_size(hbus->low_mmio_res));
|
||||
vmbus_free_mmio(hbus->low_mmio_res->start,
|
||||
resource_size(hbus->low_mmio_res));
|
||||
}
|
||||
|
||||
if (hbus->high_mmio_space && hbus->high_mmio_res) {
|
||||
hbus->high_mmio_res->flags |= IORESOURCE_BUSY;
|
||||
release_mem_region(hbus->high_mmio_res->start,
|
||||
resource_size(hbus->high_mmio_res));
|
||||
vmbus_free_mmio(hbus->high_mmio_res->start,
|
||||
resource_size(hbus->high_mmio_res));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1894,8 +1894,8 @@ static int hv_pci_allocate_bridge_windows(struct hv_pcibus_device *hbus)
|
||||
|
||||
release_low_mmio:
|
||||
if (hbus->low_mmio_res) {
|
||||
release_mem_region(hbus->low_mmio_res->start,
|
||||
resource_size(hbus->low_mmio_res));
|
||||
vmbus_free_mmio(hbus->low_mmio_res->start,
|
||||
resource_size(hbus->low_mmio_res));
|
||||
}
|
||||
|
||||
return ret;
|
||||
@@ -1938,7 +1938,7 @@ static int hv_allocate_config_window(struct hv_pcibus_device *hbus)
|
||||
|
||||
static void hv_free_config_window(struct hv_pcibus_device *hbus)
|
||||
{
|
||||
release_mem_region(hbus->mem_config->start, PCI_CONFIG_MMIO_LENGTH);
|
||||
vmbus_free_mmio(hbus->mem_config->start, PCI_CONFIG_MMIO_LENGTH);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user