diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2018-05-09 17:34:45 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-16 10:44:37 -0400 |
commit | 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654 (patch) | |
tree | 38b131aa52a5272da4c01bd7ab7cd80b4c179e86 /drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_device_access.c | |
parent | 6522aa1b19ddcccdf15b599150d7feaf819bfdb6 (diff) | |
download | linux-stable-51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654.tar.gz linux-stable-51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654.tar.bz2 linux-stable-51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654.zip |
media: staging: atomisp: Remove driver
The atomisp driver has a long list of todo items and little has been done
to address these lately while more has been added. The driver is also not
functional. In other words, the driver would not be getting out of staging
in the foreseeable future. At the same time it consumes developer
resources in order to maintain the flaky code base. Remove it.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_device_access.c')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_device_access.c | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_device_access.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_device_access.c deleted file mode 100644 index 21b842379acc..000000000000 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_device_access.c +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Support for Intel Camera Imaging ISP subsystem. - * Copyright (c) 2015, Intel Corporation. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ - -#include "ia_css_device_access.h" -#include <type_support.h> /* for uint*, size_t */ -#include <system_types.h> /* for hrt_address */ -#include <ia_css_env.h> /* for ia_css_hw_access_env */ -#include <assert_support.h> /* for assert */ - -static struct ia_css_hw_access_env my_env; - -void -ia_css_device_access_init(const struct ia_css_hw_access_env *env) -{ - assert(env != NULL); - - my_env = *env; -} - -uint8_t -ia_css_device_load_uint8(const hrt_address addr) -{ - return my_env.load_8(addr); -} - -uint16_t -ia_css_device_load_uint16(const hrt_address addr) -{ - return my_env.load_16(addr); -} - -uint32_t -ia_css_device_load_uint32(const hrt_address addr) -{ - return my_env.load_32(addr); -} - -uint64_t -ia_css_device_load_uint64(const hrt_address addr) -{ - assert(0); - - (void)addr; - return 0; -} - -void -ia_css_device_store_uint8(const hrt_address addr, const uint8_t data) -{ - my_env.store_8(addr, data); -} - -void -ia_css_device_store_uint16(const hrt_address addr, const uint16_t data) -{ - my_env.store_16(addr, data); -} - -void -ia_css_device_store_uint32(const hrt_address addr, const uint32_t data) -{ - my_env.store_32(addr, data); -} - -void -ia_css_device_store_uint64(const hrt_address addr, const uint64_t data) -{ - assert(0); - - (void)addr; - (void)data; -} - -void -ia_css_device_load(const hrt_address addr, void *data, const size_t size) -{ - my_env.load(addr, data, (uint32_t)size); -} - -void -ia_css_device_store(const hrt_address addr, const void *data, const size_t size) -{ - my_env.store(addr, data, (uint32_t)size); -} |