Messages in this thread | | | Date | Wed, 3 Dec 2008 17:07:41 -0800 | From | Stephen Hemminger <> | Subject | Re: [PATCH 1/4] dmaengine: add a release for dma class devices and dependent infrastructure |
| |
On Wed, 03 Dec 2008 17:46:46 -0700 Dan Williams <dan.j.williams@intel.com> wrote:
> Resolves: > WARNING: at drivers/base/core.c:122 device_release+0x4d/0x52() > Device 'dma0chan0' does not have a release() function, it is broken and must be fixed. > > The dma_chan_dev object is introduced to gear-match sysfs kobject and > dmaengine channel lifetimes. When a channel is removed access to the > sysfs entries return -ENODEV until the kobject can be released. > > The bulk of the change is updates to existing code to handle the extra > layer of indirection between a dma_chan and its struct device. > > Reported-by: Alexander Beregalov <a.beregalov@gmail.com> > Cc: Stephen Hemminger <shemminger@vyatta.com> > Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> > Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Much better thanks.
| |