|
@@ -208,14 +208,14 @@ s3c2410_dma_loadbuffer(struct s3c2410_dma_chan *chan,
|
|
|
{
|
|
|
unsigned long reload;
|
|
|
|
|
|
- pr_debug("s3c2410_chan_loadbuffer: loading buff %p (0x%08lx,0x%06x)\n",
|
|
|
- buf, (unsigned long)buf->data, buf->size);
|
|
|
-
|
|
|
if (buf == NULL) {
|
|
|
dmawarn("buffer is NULL\n");
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
+ pr_debug("s3c2410_chan_loadbuffer: loading buff %p (0x%08lx,0x%06x)\n",
|
|
|
+ buf, (unsigned long)buf->data, buf->size);
|
|
|
+
|
|
|
/* check the state of the channel before we do anything */
|
|
|
|
|
|
if (chan->load_state == S3C2410_DMALOAD_1LOADED) {
|