mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
media: atomisp: pipeline: Removed #if defined(ISP2401) to make driver generic
Removed #if defined(ISP2401) to make driver generic. Link: https://lore.kernel.org/r/20230713100231.308923-8-hpa@redhat.com Signed-off-by: Kate Hsuan <hpa@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
58e6d7d80b
commit
404af81df6
@ -241,7 +241,6 @@ bool ia_css_pipeline_uses_params(struct ia_css_pipeline *pipeline);
|
||||
*/
|
||||
bool ia_css_pipeline_get_sp_thread_id(unsigned int key, unsigned int *val);
|
||||
|
||||
#if defined(ISP2401)
|
||||
/**
|
||||
* @brief Get the pipeline io status
|
||||
*
|
||||
@ -250,7 +249,6 @@ bool ia_css_pipeline_get_sp_thread_id(unsigned int key, unsigned int *val);
|
||||
* Pointer to pipe_io_status
|
||||
*/
|
||||
struct sh_css_sp_pipeline_io_status *ia_css_pipeline_get_pipe_io_status(void);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Map an SP thread to this pipeline
|
||||
|
@ -454,12 +454,10 @@ bool ia_css_pipeline_has_stopped(struct ia_css_pipeline *pipeline)
|
||||
return sp_group.pipe[thread_id].num_stages == 0;
|
||||
}
|
||||
|
||||
#if defined(ISP2401)
|
||||
struct sh_css_sp_pipeline_io_status *ia_css_pipeline_get_pipe_io_status(void)
|
||||
{
|
||||
return(&sh_css_sp_group.pipe_io_status);
|
||||
}
|
||||
#endif
|
||||
|
||||
bool ia_css_pipeline_is_mapped(unsigned int key)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user